From a3bb2f154ad5ef6e9ff4f819fc00fe561f9ef7b6 Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 20 May 2001 15:25:38 +0000 Subject: moved doc-generation to distribution-time, not compile-time --- doc/Makefile.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/Makefile.in b/doc/Makefile.in index fd7b711..e6c71a9 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -1,4 +1,5 @@ #! /usr/bin/make +# this file is shamelessly stolen from the iptables CVS tree LANG_DIRS:= @@ -13,7 +14,9 @@ PSUS_HOWTOS:=$(HOWTOS:.sgml=.letter.ps) HOWTO_FLAGS_it/=-c latin -l it HOWTO_FLAGS_fr/=-c latin -l fr -interesting_howtos: $(TXT_HOWTOS) $(PSA4_HOWTOS) +user_calls_make: + +distrib: $(TXT_HOWTOS) $(PSA4_HOWTOS) $(HTML_HOWTOS) HOWTOs: $(TXT_HOWTOS) $(HTML_HOWTOS) $(PSA4_HOWTOS) $(PSUS_HOWTOS) @@ -37,10 +40,10 @@ $(TXT_HOWTOS) $(HTML_HOWTOS) $(PSA4_HOWTOS) $(PSUS_HOWTOS): Makefile @dvips -t letter -o $@ $< %.html: %.sgml - @echo Making $@: && cd `dirname $<` && sgml2html $(HOWTO_FLAGS_$(dir $<)) `basename $<` 2>&1 | sed "s?^:\([0-9]*\):[^ ]* ?$<:\1:?" + @echo Making $@: && cd `dirname $<` && sgml2html -s 0 $(HOWTO_FLAGS_$(dir $<)) `basename $<` 2>&1 | sed "s?^:\([0-9]*\):[^ ]* ?$<:\1:?" clean: - for d in . $(LANG_DIRS); do rm -f $$d/*.html $$d/*.ps $$d/*.aux $$d/*.log $$d/*.txt $$d/*~; done +# for d in . $(LANG_DIRS); do rm -f $$d/*.html $$d/*.ps $$d/*.aux $$d/*.log $$d/*.txt $$d/*~; done distclean: rm -f Makefile -- cgit v1.2.3