diff --git a/tools/Makefile b/tools/Makefile index 297d644..c272953 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -34,7 +34,10 @@ distclean: clean $(RM) -- $(TARGETS) install: $(TARGETS) + $(MKDIR) $(DESTDIR)$(BINDIR) + $(INSTALL) -m 0755 config $(DESTDIR)$(BINDIR)/config uninstall: + $(RM) -- $(DESTDIR)$(BINDIR)/config .PHONY: all clean distclean install uninstall diff --git a/tools/project.conf b/tools/project.conf index ad1fccd..f6169a5 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -9,3 +9,4 @@ dist=COPYING,Makefile [config] type=binary sources=config.c +install=$(BINDIR)