2010-07-21 15:53:52 +02:00
|
|
|
From: Tony Jones <tonyj@suse.de>
|
|
|
|
Subject: change doc install path
|
|
|
|
References: none
|
|
|
|
Upstream: never
|
|
|
|
|
|
|
|
SuSE %{_docdir} is /usr/share/doc/packages. Change install locations to match.
|
|
|
|
|
2009-05-08 17:11:33 +02:00
|
|
|
---
|
|
|
|
Makefile.am | 2 +-
|
|
|
|
doc/Makefile.am | 2 +-
|
|
|
|
doc/SystemTap_Tapset_Reference/Makefile.am | 4 ++--
|
2013-01-12 06:43:52 +01:00
|
|
|
3 files changed, 4 insertions(+), 4 deletions(-)
|
2009-05-08 17:11:33 +02:00
|
|
|
|
2009-02-19 23:53:20 +01:00
|
|
|
--- a/Makefile.am
|
|
|
|
+++ b/Makefile.am
|
2013-01-12 06:43:52 +01:00
|
|
|
@@ -259,7 +259,7 @@ endif
|
2008-09-13 12:19:36 +02:00
|
|
|
| while read f; do if test -x $$f; then \
|
|
|
|
i_cmd="$(INSTALL_PROGRAM)"; else \
|
|
|
|
i_cmd="$(INSTALL_DATA)"; fi; \
|
|
|
|
- $$i_cmd -D $$f $(DESTDIR)$(docdir)/examples/$$f; done)
|
2008-12-15 15:08:38 +01:00
|
|
|
+ $$i_cmd -D $$f $(DESTDIR)$(datadir)/doc/packages/systemtap/examples/$$f; done)
|
2009-02-19 23:53:20 +01:00
|
|
|
test -e $(DESTDIR)$(sysconfdir)/systemtap || mkdir -p $(DESTDIR)$(sysconfdir)/systemtap
|
2010-07-21 15:53:52 +02:00
|
|
|
if BUILD_SERVER
|
|
|
|
test -e $(DESTDIR)$(localstatedir)/run/stap-server || mkdir -p $(DESTDIR)$(localstatedir)/run/stap-server
|
2009-02-19 23:53:20 +01:00
|
|
|
--- a/doc/Makefile.am
|
|
|
|
+++ b/doc/Makefile.am
|
2015-03-27 17:48:03 +01:00
|
|
|
@@ -3,7 +3,7 @@
|
2008-08-14 02:38:19 +02:00
|
|
|
|
2015-03-27 17:48:03 +01:00
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
2008-08-14 02:38:19 +02:00
|
|
|
PDF_FILES = tutorial.pdf langref.pdf
|
|
|
|
-DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap
|
2008-12-15 15:08:38 +01:00
|
|
|
+DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/packages/systemtap
|
2010-07-21 15:53:52 +02:00
|
|
|
SUBDIRS = SystemTap_Tapset_Reference beginners
|
2008-08-14 02:38:19 +02:00
|
|
|
|
|
|
|
if BUILD_DOCS
|
2009-02-19 23:53:20 +01:00
|
|
|
--- a/doc/SystemTap_Tapset_Reference/Makefile.am
|
|
|
|
+++ b/doc/SystemTap_Tapset_Reference/Makefile.am
|
|
|
|
@@ -1,9 +1,9 @@
|
|
|
|
# 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
|
|
|
|
+DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/packages/systemtap
|
2009-05-08 17:11:33 +02:00
|
|
|
MAN_INSTALL_DIR = $(DESTDIR)$(mandir)/man3
|
2009-02-19 23:53:20 +01:00
|
|
|
-HTML_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap/tapsets
|
|
|
|
+HTML_INSTALL_DIR = $(DOC_INSTALL_DIR)/tapsets
|
|
|
|
|
|
|
|
|
|
|
|
###
|