Install dinitcheck on install, clean binary on clean
authorDavin McCall <davmac@davmac.org>
Thu, 21 Nov 2019 16:28:12 +0000 (16:28 +0000)
committerDavin McCall <davmac@davmac.org>
Thu, 21 Nov 2019 16:28:12 +0000 (16:28 +0000)
src/Makefile

index 6bc6b2fc7d998963dc5b0bf7b8ce91e63054c95f..88ecb15de2ba25bde929c6661664cd7e67f84072 100644 (file)
@@ -61,7 +61,7 @@ run-cppcheck:
 
 install: all
        install -d $(DESTDIR)$(SBINDIR)
-       install $(STRIPOPTS) dinit dinitctl $(SHUTDOWN) $(DESTDIR)$(SBINDIR)
+       install $(STRIPOPTS) dinit dinitctl dinitcheck $(SHUTDOWN) $(DESTDIR)$(SBINDIR)
 ifeq ($(BUILD_SHUTDOWN),yes)
        ln -f $(DESTDIR)$(SBINDIR)/shutdown $(DESTDIR)$(SBINDIR)/halt
        ln -f $(DESTDIR)$(SBINDIR)/shutdown $(DESTDIR)$(SBINDIR)/reboot
@@ -69,7 +69,7 @@ endif
 
 clean:
        rm -f *.o *.d
-       rm -f dinit dinitctl shutdown mconfig-gen
+       rm -f dinit dinitctl dinitcheck shutdown mconfig-gen
        rm -f includes/mconfig.h
        $(MAKE) -C tests clean
        $(MAKE) -C igr-tests clean