about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-10-29 08:26:43 +0000
committerEric Wong <normalperson@yhbt.net>2013-10-29 17:57:17 +0000
commit92b4d2b4ffbf8221260c1195ece1c227ec6824e3 (patch)
treef7f956559b0793332030469c2125a53c3b608c2b /Documentation
parent01cef69c94033ecc2cb22b209f79deab2b0d55d6 (diff)
downloadyahns-92b4d2b4ffbf8221260c1195ece1c227ec6824e3.tar.gz
This should be compatible with the "gem-man" command.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile
index 27981be..482b5b1 100644
--- a/Documentation/GNUmakefile
+++ b/Documentation/GNUmakefile
@@ -33,15 +33,15 @@ gem-man: man
         $(INSTALL) -d -m 755 ../man
         $(INSTALL) -m 644 $(man1) ../man
         $(INSTALL) -m 644 $(man5) ../man
-        $(INSTALL) -m 644 $(man7) ../man
+        test -z "$(man7)" || $(INSTALL) -m 644 $(man7) ../man
 
 install-man: man
         $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
         $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
-        $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
+        test -z "$(man7)" || $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
         $(INSTALL) -m 644 $(man1) $(DESTDIR)$(man1dir)
         $(INSTALL) -m 644 $(man5) $(DESTDIR)$(man5dir)
-        $(INSTALL) -m 644 $(man7) $(DESTDIR)$(man7dir)
+        test -z "$(man7)" || $(INSTALL) -m 644 $(man7) $(DESTDIR)$(man7dir)
 %.1 %.5 %.7 : %.txt
         $(pandoc) -s -t man < $< > $@+ && mv $@+ $@