diff options
author | William Cohen <wcohen@redhat.com> | 2008-12-22 13:26:10 -0500 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2008-12-22 13:26:10 -0500 |
commit | 5bfd7a3769ba6dcfc9240357ad97f5243da37333 (patch) | |
tree | 17cc1541105bc03ba875c488b353ced932285994 /doc/SystemTap_Tapset_Reference/Makefile.am | |
parent | a688cff28de458448f40584acfa5f22d7e444471 (diff) | |
download | systemtap-steved-5bfd7a3769ba6dcfc9240357ad97f5243da37333.tar.gz systemtap-steved-5bfd7a3769ba6dcfc9240357ad97f5243da37333.tar.xz systemtap-steved-5bfd7a3769ba6dcfc9240357ad97f5243da37333.zip |
Add generations of tapset reference manual material.
Diffstat (limited to 'doc/SystemTap_Tapset_Reference/Makefile.am')
-rw-r--r-- | doc/SystemTap_Tapset_Reference/Makefile.am | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/doc/SystemTap_Tapset_Reference/Makefile.am b/doc/SystemTap_Tapset_Reference/Makefile.am index c196e977..71f2cd55 100644 --- a/doc/SystemTap_Tapset_Reference/Makefile.am +++ b/doc/SystemTap_Tapset_Reference/Makefile.am @@ -1,6 +1,11 @@ # Makefile.am --- automake input file for systemtap tapset reference manual ## process this file with automake to produce Makefile.in +DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap +MAN_INSTALL_DIR = $(DESTDIR)$(mandir)/man5 +HTML_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap/tapsets + + ### # The build process is as follows (targets): # (xmldocs) [by docproc] @@ -9,15 +14,12 @@ # +--> DIR=file (htmldocs) [by xmlto] # +--> man/ (mandocs) [by xmlto] -bin_PROGRAMS = docproc -docproc_SOURCES = docproc.c - -all: pdfdocs htmldocs mandocs - - +noinst_PROGRAMS = docproc SRCTREE=$(abs_top_srcdir)/ DOCPROC=$(abs_builddir)/docproc +if BUILD_DOCS +all: pdfdocs htmldocs mandocs xmldocs: docproc SRCTREE=$(SRCTREE) $(DOCPROC) doc $(abs_srcdir)/tapsets.tmpl > tapsets.xml @@ -32,6 +34,11 @@ mandocs: xmldocs #FIXME need to figure out where to install things appropriately #installmandocs: mandocs -# $(MKDIR_P) /usr/local/man/man5/ -# install Documentation/DocBook/man/*.5.gz /usr/local/man/man5/ - +install-data-hook: + $(MKDIR_P) $(DOC_INSTALL_DIR) + $(INSTALL_DATA) tapsets.pdf $(DOC_INSTALL_DIR) + $(MKDIR_P) $(MAN_INSTALL_DIR) + $(INSTALL_DATA) man5/* $(MAN_INSTALL_DIR) + $(MKDIR_P) $(HTML_INSTALL_DIR) + $(INSTALL_DATA) tapsets/* $(HTML_INSTALL_DIR) +endif |