dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] allow building the gem without pandoc


From: Eric Wong
Subject: [PATCH] allow building the gem without pandoc
Date: Fri, 30 Oct 2015 09:51:23 +0000

Not everybody cares for manpages.
---
 Documentation/GNUmakefile | 2 +-
 GNUmakefile               | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile
index 537c659..f9b8204 100644
--- a/Documentation/GNUmakefile
+++ b/Documentation/GNUmakefile
@@ -48,7 +48,7 @@ install-man: man
        $(INSTALL) -m 644 $(man1) $(DESTDIR)$(man1dir)
        $(INSTALL) -m 644 $(man7) $(DESTDIR)$(man7dir)
 %.1 %.7 : %.txt
-       $(pandoc) -s -t man < $< > address@hidden && mv address@hidden $@
+       $(pandoc) -s -t man < $< > $@
 
 clean::
        $(RM) $(man1) $(man7)
diff --git a/GNUmakefile b/GNUmakefile
index 5075a67..d737b43 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -46,9 +46,9 @@ pkg_extra := GIT-VERSION-FILE lib/dtas/version.rb NEWS
 NEWS:
        rake -s $@
 gem-man:
-       $(MAKE) -C Documentation/ gem-man
+       -$(MAKE) -C Documentation/ gem-man
 tgz-man:
-       $(MAKE) -C Documentation/ install-man mandir=$(CURDIR)/man
+       -$(MAKE) -C Documentation/ install-man mandir=$(CURDIR)/man
 .PHONY: tgz-man gem-man
 
 .gem-manifest: .manifest gem-man
-- 
EW




reply via email to

[Prev in Thread] Current Thread [Next in Thread]