diff options
author | Eugeniy Meshcheryakov <eugen@debian.org> | 2009-05-05 23:14:54 +0200 |
---|---|---|
committer | Eugeniy Meshcheryakov <eugen@debian.org> | 2009-05-05 23:14:54 +0200 |
commit | 3cfd791d8fd3842ef55ef54657a70e0bc4225d0c (patch) | |
tree | 75152d3cf92bf324bcd0d020d234a8fcbd47b97f /doc/SystemTap_Tapset_Reference/Makefile.am | |
parent | 079e3163aec9bd146428ca930f7de9f78eec233b (diff) | |
download | systemtap-steved-3cfd791d8fd3842ef55ef54657a70e0bc4225d0c.tar.gz systemtap-steved-3cfd791d8fd3842ef55ef54657a70e0bc4225d0c.tar.xz systemtap-steved-3cfd791d8fd3842ef55ef54657a70e0bc4225d0c.zip |
Only disable building of PDF version of refdocs if xmlto is bad
Diffstat (limited to 'doc/SystemTap_Tapset_Reference/Makefile.am')
-rw-r--r-- | doc/SystemTap_Tapset_Reference/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/SystemTap_Tapset_Reference/Makefile.am b/doc/SystemTap_Tapset_Reference/Makefile.am index 7903b12b..276c7169 100644 --- a/doc/SystemTap_Tapset_Reference/Makefile.am +++ b/doc/SystemTap_Tapset_Reference/Makefile.am @@ -19,7 +19,11 @@ SRCTREE=$(abs_top_srcdir)/ DOCPROC=$(abs_builddir)/docproc if BUILD_REFDOCS -all: tapsets.pdf stamp-htmldocs stamp-mandocs +PDFDOCS = tapsets.pdf +endif + +if BUILD_DOCS +all: $(PDFDOCS) stamp-htmldocs stamp-mandocs tapsets.xml: docproc $(shell find $(SRCTREE) -name '*.stp') SRCTREE=$(SRCTREE) $(DOCPROC) doc $(abs_srcdir)/tapsets.tmpl > tapsets.xml.new if cmp tapsets.xml.new tapsets.xml >/dev/null ; then \ @@ -43,8 +47,10 @@ stamp-mandocs: tapsets.xml #FIXME need to figure out where to install things appropriately #installmandocs: mandocs install-data-hook: +if BUILD_REFDOCS $(MKDIR_P) $(DOC_INSTALL_DIR) $(INSTALL_DATA) tapsets.pdf $(DOC_INSTALL_DIR) +endif $(MKDIR_P) $(MAN_INSTALL_DIR) $(INSTALL_DATA) man3/* $(MAN_INSTALL_DIR) $(MKDIR_P) $(HTML_INSTALL_DIR) |