X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=Makefile;h=d5718c2ca9f186a5810d8a3ea035a55f5e0d323d;hp=b5a149f4df2c706fc60ea14e6dbbae72b5823987;hb=6945b41482b9549f21dcab251c3305b3f6756994;hpb=382626aad0a683ed8642a6a807eea743db45f7f8 diff --git a/Makefile b/Makefile index b5a149f..d5718c2 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,9 @@ # Set this to `true' to echo each build command in full. verbose := false +# Set this to `false' to avoid installing manual pages. +install_man := true + # # Include the configuration file, config.mk. @@ -172,10 +175,12 @@ install: all do \ $(call remove_silencer,$(call DO_INSTALL,755,$$file,$(DESTDIR)$(bindir))); \ done +ifeq ($(install_man),true) $(SHELL_LINE_PREFIX)files='$(MANPAGES)'; for file in $$files; \ do \ $(call remove_silencer,$(call DO_INSTALL,644,$$file,$(DESTDIR)$(mandir))); \ done +endif .PHONY: uninstall uninstall: