From 5f0cda32b52d1a756dd29621dc70d32f4620fed4 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 25 Aug 2018 23:47:27 +0000 Subject: 43333: Generate FAQ.html in the builddir, rather than in the srcdir, and add it to the default target of the Etc/ subdirectory. This fixes `make targz-doc` in out-of-tree builds. --- Etc/Makefile.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Etc/Makefile.in') 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 ========== -- cgit 1.4.1