From 7fe437e69acdfa85e8b2a5f65ec327a0731e7968 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 7 Jul 2008 11:15:50 +0200 Subject: Install tutorial and langref manuals. --- doc/Makefile.am | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'doc/Makefile.am') 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 -- cgit