diff options
author | Mark Wielaard <mwielaard@redhat.com> | 2008-07-07 11:15:50 +0200 |
---|---|---|
committer | Mark Wielaard <mwielaard@redhat.com> | 2008-07-07 11:17:40 +0200 |
commit | 7fe437e69acdfa85e8b2a5f65ec327a0731e7968 (patch) | |
tree | d1f3d5da48f7ab55871780cd77135e835f2925a4 /doc/Makefile.am | |
parent | 422b0781177e0755df5542e1c70e809e6f3cfe89 (diff) | |
download | systemtap-steved-7fe437e69acdfa85e8b2a5f65ec327a0731e7968.tar.gz systemtap-steved-7fe437e69acdfa85e8b2a5f65ec327a0731e7968.tar.xz systemtap-steved-7fe437e69acdfa85e8b2a5f65ec327a0731e7968.zip |
Install tutorial and langref manuals.
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 25eb61d7..e4bc3800 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,11 +1,24 @@ # Makefile.am --- automake input file for systemtap docs ## process this file with automake to produce Makefile.in +PDF_FILES = tutorial.pdf langref.pdf +DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap + if BUILD_DOCS -all-local: tutorial.pdf langref.pdf +all-local: $(PDF_FILES) clean-local: rm -f *.pdf *.out *.log *.aux *.toc *.lot *.idx *.glo + +install-data-hook: + $(MKDIR_P) $(DOC_INSTALL_DIR) + $(INSTALL_DATA) $(PDF_FILES) $(DOC_INSTALL_DIR) + +uninstall-local: + @list='$(PDF_FILES)'; for p in $$list; do \ + echo " rm -f '$(DOC_INSTALL_DIR)/$$p'"; \ + rm -f "$(DOC_INSTALL_DIR)/$$p"; \ + done endif SUFFIXES = ps pdf dvi ps tex |