From 02fb4408debed86083430679febf36d754ff146d Mon Sep 17 00:00:00 2001 From: dhilvert Date: Fri, 29 Sep 2006 07:37:00 +0000 Subject: [PATCH] bootstrap, doc/Makefile: build documentation at package build time. darcs-hash:20060929073735-789c2-c0b640a61aebd6549b2fd94d2f31b4161a22cd89.gz --- bootstrap | 6 ++++++ doc/Makefile | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index ad9b328..1183b97 100755 --- a/bootstrap +++ b/bootstrap @@ -94,6 +94,12 @@ autoreconf --install # automake --foreign # +# Make documentation +# + +make -C doc + +# # Indicate that we're done. # diff --git a/doc/Makefile b/doc/Makefile index 590c597..f745034 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -179,6 +179,7 @@ DBX_PARAMS= # What file extension do you use for DocBook source files? DOCBOOK_FILE_EXTENSION = .docbook +SOURCE_FILE_EXTENSION = .xml # ----------------------------------------------------------------- # make(1) functions for building file lists @@ -187,7 +188,7 @@ DOCBOOK_FILE_EXTENSION = .docbook # the values of the following are used for determing what needs # to be built and/or cleaned up -SOURCE_FILES_DBK = $(wildcard *$(DOCBOOK_FILE_EXTENSION)) +SOURCE_FILES_DBK = $(wildcard *$(SOURCE_FILE_EXTENSION)) FILES_FO = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).fo) FILES_TXT = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).txt) @@ -507,7 +508,7 @@ endif # the following is actually a built-in rule, but it's redefined # here just for the sake of clarity %.info: %.texi-list - ./make-infos $(MAKEINFO) < $< + /usr/bin/perl -w make-infos $(MAKEINFO) < $< -@ # This doesn't work in general. -@ # $(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@ -- 2.11.4.GIT