diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -29,7 +29,10 @@ man-%: build --include=docs/help2man/reporting-bugs.help2man \ -o build/$*.1 build/$* -install: all +# Let this fail if the user did not run make yet (because the build never +# requires sudo, whereas this part may require it depending on location). +.PHONY: install +install: @mkdir -p $(DESTDIR)$(BINDIR) @mkdir -p $(DESTDIR)$(MANDIR)/man1 install -m 755 $(patsubst %,build/%,$(PROGRAMS)) $(DESTDIR)$(BINDIR) |