From 369d45709694ca8b273b708a983a55899b58135e Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Tue, 23 Oct 2018 16:20:00 +0200 Subject: [PATCH] doc/Makefile: add missing dependencies Dependencies on txt2tags includes and Haskell source files were missing. --- doc/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index e7f51b357..3988d7a4d 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -22,9 +22,10 @@ LANGS=Afr Bul Cat Chi Dan Dut Eng Est Eus Fin Fre Ger Gre Hin Ice Ita Jpn Lav Ml SRC_FILES=$S/abstract/Common.gf $S/abstract/Cat.gf $S/api/Constructors.gf $S/abstract/Structural.gf $(patsubst %,$S/*/Paradigms%.gf,$(LANGS)) EXAMPLES_OUT=$(patsubst %,api-examples-%.txt,$(LANGS)) +INCLUDES=synopsis-intro.txt categories-intro.txt synopsis-additional.txt synopsis-browse.txt synopsis-example.txt -synopsis.html: $(EXAMPLES_OUT) $(SRC_FILES) - runghc MkSynopsis.hs >out +synopsis.html: MkSynopsis.hs MkExxTable.hs $(INCLUDES) $(EXAMPLES_OUT) $(SRC_FILES) + runghc MkSynopsis.hs categories-imagemap.html: categories.dot dot -Tcmapx $^ > $@ @@ -34,7 +35,7 @@ abstract: mv $S/abstract/*.html abstract -api-examples.gfs: api-examples.txt +api-examples.gfs: api-examples.txt MkExx.hs runghc MkExx.hs < $< > $@ @@ -46,4 +47,4 @@ api-examples-%.txt: $(GF_alltenses)/Try%.gfo api-examples.gfs GF_LIB_PATH=$(GF_LIB_PATH) $(GF) -retain -s $< $@ clean: - rm -rf out synopsis.txt api-examples.gfs $(EXAMPLES_OUT) + rm -rf synopsis.txt api-examples.gfs $(EXAMPLES_OUT)