zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Generate FAQ.html in the builddir, rather than in the srcdir, and add it to the default target of the Etc/ subdirectory.
@ 2018-08-25 23:47 Daniel Shahaf
  0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2018-08-25 23:47 UTC (permalink / raw)
  To: zsh-workers

This fixes `make targz-doc` in out-of-tree builds.
---
 Etc/Makefile.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Etc/Makefile.in b/Etc/Makefile.in
index b6743a7ec..9adba95db 100644
--- a/Etc/Makefile.in
+++ b/Etc/Makefile.in
@@ -40,13 +40,13 @@ INSTALL         = @INSTALL@
 
 # ========== DEPENDENCIES FOR BUILDING ==========
 
-all: FAQ
+all: FAQ FAQ.html
 
-FAQ: FAQ.yo
-	cd $(sdir) && $(YODL2TXT) FAQ.yo && mv -f FAQ.txt FAQ
+FAQ: $(sdir)/FAQ.yo
+	$(YODL2TXT) -o FAQ.txt $< && mv FAQ.txt $@
 
-FAQ.html: FAQ.yo
-	$(YODL2HTML) $(sdir)/FAQ.yo
+FAQ.html: $(sdir)/FAQ.yo
+	$(YODL2HTML) -o $@ $<
 
 # ========== DEPENDENCIES FOR CLEANUP ==========
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-25 23:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-25 23:47 [PATCH] Generate FAQ.html in the builddir, rather than in the srcdir, and add it to the default target of the Etc/ subdirectory Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).