diff options
author | laforge <laforge> | 2001-05-20 15:25:38 +0000 |
---|---|---|
committer | laforge <laforge> | 2001-05-20 15:25:38 +0000 |
commit | a3bb2f154ad5ef6e9ff4f819fc00fe561f9ef7b6 (patch) | |
tree | 1b48a26363ff9f5b0afe9bef9d080fa11a55d2ec /doc/Makefile.in | |
parent | 161eb2989611f209f40332e1ad3303ec051d18ab (diff) |
moved doc-generation to distribution-time, not compile-time
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r-- | doc/Makefile.in | 9 |
1 files changed, 6 insertions, 3 deletions
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?^<standard input>:\([0-9]*\):[^ ]* ?$<:\1:?" + @echo Making $@: && cd `dirname $<` && sgml2html -s 0 $(HOWTO_FLAGS_$(dir $<)) `basename $<` 2>&1 | sed "s?^<standard input>:\([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 |