From 1162b027d262192aafcbc3ae596a916490ee1a78 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Tue, 5 Sep 2006 01:00:09 +0000 Subject: Add all target to doc Makefile Change the build system to build html docs as well git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2198 ce84e21b-d406-0410-9b95-82705330c041 --- doc/Makefile | 2 ++ tools/export.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index b83135183..233c2bda7 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,5 +1,7 @@ SOURCES = *.xml +all : manual.pdf manual.html + %.fo: %.xml $(SOURCES) xsltproc --stringparam body.font.family Helvetica --stringparam fop.extensions 1 /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl $< > $@ diff --git a/tools/export.sh b/tools/export.sh index 5d0db628a..16fcda6f8 100755 --- a/tools/export.sh +++ b/tools/export.sh @@ -14,7 +14,7 @@ tagstr=`echo ${version} | sed -e 's/\./_/g'` svn copy "${repo}/trunk" "${repo}/tags/${name}_${tagstr}" -m "tagged ${version} release" svn export . "${expath}" svn log -v "${repo}/tags/${name}_${tagstr}" > "${expath}/ChangeLog" -cd "${expath}"/doc && make manual.pdf +cd "${expath}"/doc && make all cd /tmp tar czf "${tarname}" "${name}-${version}" -- cgit v1.2.3-1-g7c22