summaryrefslogtreecommitdiffstats
path: root/doc/SystemTap_Tapset_Reference/Makefile.am
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-05-06 11:19:32 -0400
committerDave Brolley <brolley@redhat.com>2009-05-06 11:19:32 -0400
commit07e1c7c9f0c0244530d4cb1f4a876355df1a2aec (patch)
tree5743d35c33a0fb9615b0c560c57229d1ace7eade /doc/SystemTap_Tapset_Reference/Makefile.am
parentaa4d7d17299550b06c33f386d2c5715f8250879f (diff)
parentccf8bc85c08ba5602288caeb5062b3bf049a6960 (diff)
downloadsystemtap-steved-07e1c7c9f0c0244530d4cb1f4a876355df1a2aec.tar.gz
systemtap-steved-07e1c7c9f0c0244530d4cb1f4a876355df1a2aec.tar.xz
systemtap-steved-07e1c7c9f0c0244530d4cb1f4a876355df1a2aec.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'doc/SystemTap_Tapset_Reference/Makefile.am')
-rw-r--r--doc/SystemTap_Tapset_Reference/Makefile.am8
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..a191461a 100644
--- a/doc/SystemTap_Tapset_Reference/Makefile.am
+++ b/doc/SystemTap_Tapset_Reference/Makefile.am
@@ -18,8 +18,12 @@ noinst_PROGRAMS = docproc
SRCTREE=$(abs_top_srcdir)/
DOCPROC=$(abs_builddir)/docproc
+if BUILD_PDFREFDOCS
+PDFDOCS = tapsets.pdf
+endif
+
if BUILD_REFDOCS
-all: tapsets.pdf stamp-htmldocs stamp-mandocs
+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_PDFREFDOCS
$(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)