diff options
author | Mark Wielaard <mjw@redhat.com> | 2010-01-01 20:47:26 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2010-01-02 00:07:00 +0100 |
commit | 53ade4da49f02bedf5c0e7e0b82d961b3e78cb4d (patch) | |
tree | 4ba68c78843cb47e102b7c988cb17a96ff8c2438 /doc/beginners/Makefile.am | |
parent | 72f28cc2cb57bbcc4e773069dad6cf75343fb396 (diff) | |
download | systemtap-steved-53ade4da49f02bedf5c0e7e0b82d961b3e78cb4d.tar.gz systemtap-steved-53ade4da49f02bedf5c0e7e0b82d961b3e78cb4d.tar.xz systemtap-steved-53ade4da49f02bedf5c0e7e0b82d961b3e78cb4d.zip |
Add SystemTap_Beginners_Guide to build.
* configure.ac: Add --enable-publican and --with-publican-brand.
Setup "shadow" directory doc/beginners.
* Makefile.in: Regenerated.
* configure: Regenerated.
* doc/Makefile.am (SUBDIRS): Add beginners.
* doc/Makefile.in: Regenerated.
* doc/SystemTap_Beginners_Guide/en-US/Book_Info.xml (productname):
Set to Systemtap.
(productnumber): Set to 1.0.
* SystemTap_Beginners_Guide/en-US/*.xml: Replace includes from
extras/testsuite to ../testsuite,
* doc/SystemTap_Beginners_Guide/publican.cfg: Moved to ...
* doc/SystemTap_Beginners_Guide/publican.cfg.in: ... here.
* doc/SystemTap_Beginners_Guide/Makefile: Removed.
* doc/SystemTap_Beginners_Guide/old-syncandbuild.sh: Removed.
* doc/SystemTap_Beginners_Guide/syncandbuild.sh: Removed.
* doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated.
* doc/beginners/Makefile.am: New makefile.
* doc/beginners/Makefile.in: New generated file.
* grapher/Makefile.in: Regenerated.
* systemtap.spec: Add with_publican and publican_brand.
Diffstat (limited to 'doc/beginners/Makefile.am')
-rw-r--r-- | doc/beginners/Makefile.am | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/beginners/Makefile.am b/doc/beginners/Makefile.am new file mode 100644 index 00000000..29ffeaba --- /dev/null +++ b/doc/beginners/Makefile.am @@ -0,0 +1,48 @@ +# Makefile.am --- automake input file for systemtap tapset reference manual +## process this file with automake to produce Makefile.in + +# publican will create a pdf file and a directory with *.html files, +# a directory called images that contain *.png and *.svg files, a +# Common_Content/images with more *.png and *.svg files and a +# Common_Content/css directory with *.css files. + +DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap +SBG = SystemTap_Beginners_Guide +BEGIN_INSTALL_DIR = $(DOC_INSTALL_DIR)/$(SBG) + +if BUILD_PUBLICAN +all: $(SBG).pdf $(SBG)/index.html + +$(SBG).pdf: + publican build --formats=pdf --langs=en-US && \ + mv build/en-US/pdf/*$(SBG)*.pdf $(SBG).pdf + +$(SBG)/index.html: + publican build --formats=html --langs=en-US && \ + mv build/en-US/html $(SBG) + +clean-local: + publican clean + rm -f $(SBG).pdf + rm -rf $(SBG) + +install-data-hook: + $(MKDIR_P) $(DOC_INSTALL_DIR) + $(INSTALL_DATA) $(SBG).pdf $(DOC_INSTALL_DIR) + $(MKDIR_P) $(DOC_INSTALL_DIR)/$(SBG) + $(INSTALL_DATA) $(SBG)/*.html $(DOC_INSTALL_DIR)/$(SBG) + $(MKDIR_P) $(DOC_INSTALL_DIR)/$(SBG)/images + $(INSTALL_DATA) $(SBG)/images/*.png $(SBG)/images/*.svg \ + $(DOC_INSTALL_DIR)/$(SBG)/images + $(MKDIR_P) $(DOC_INSTALL_DIR)/$(SBG)/Common_Content/css + $(MKDIR_P) $(DOC_INSTALL_DIR)/$(SBG)/Common_Content/images + $(INSTALL_DATA) $(SBG)/Common_Content/css/*.css \ + $(DOC_INSTALL_DIR)/$(SBG)/Common_Content/css + $(INSTALL_DATA) $(SBG)/Common_Content/images/*.png \ + $(SBG)/Common_Content/images/*.svg \ + $(DOC_INSTALL_DIR)/$(SBG)/Common_Content/images + +uninstall-local: + rm -f $(DOC_INSTALL_DIR)/$(SBG).pdf + rm -rf $(DOC_INSTALL_DIR)/$(SBG) +endif |