]> Dogcows Code - chaz/yoink/blobdiff - Makefile
optionally install man pages
[chaz/yoink] / Makefile
index b5a149f4df2c706fc60ea14e6dbbae72b5823987..d5718c2ca9f186a5810d8a3ea035a55f5e0d323d 100644 (file)
--- 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:
This page took 0.01887 seconds and 4 git commands to generate.