-
-# And now we create the documentation (manually):
- $(MAKE) doc/source/ldpOK.dsl
- (cd doc/source; \
- $(DB2HTML) -o faq faq.sgml; \
- $(DB2HTML) -o user-manual user-manual.sgml; \
- $(DB2HTML) -o developer-manual developer-manual.sgml; \
- docbook2txt faq.sgml; \
- docbook2txt user-manual.sgml; \
- docbook2txt developer-manual.sgml)
+# create missing doc/pdf directory if necessary:
+ [ -d doc/pdf ] || mkdir doc/pdf
+ $(MAKE) dok-pdf
+ $(MAKE) dok
+ env -u LANG $(MAKE) man
+ $(MAKE) man2html
+
+# remove trailing whitespaces:
+ for x in developer-manual user-manual faq; do \
+ sed -e 's/[ ]*$$//' < doc/text/$$x.txt > doc/text/$$x.nws;\
+ mv -f doc/text/$$x.nws doc/text/$$x.txt; \
+ done