* [PATCH] allow building the gem without pandoc
@ 2015-10-30 9:51 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-10-30 9:51 UTC (permalink / raw)
To: dtas-all
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 < $< > $@+ && mv $@+ $@
+ $(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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-30 9:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-30 9:51 [PATCH] allow building the gem without pandoc Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/dtas.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).