summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2009-12-13 17:01:20 +0000
committerMike Auty <ikelos@gentoo.org>2009-12-13 17:01:20 +0000
commit17b898fa0a55e50bc8f9e19d7e4adc949958fbd9 (patch)
treebd9af00e88881068731bd9ec938a004742d079ee /dev-util/bless/files
parentAdd ~m68k, thanks to kolla for testing (diff)
downloadhistorical-17b898fa0a55e50bc8f9e19d7e4adc949958fbd9.tar.gz
historical-17b898fa0a55e50bc8f9e19d7e4adc949958fbd9.tar.bz2
historical-17b898fa0a55e50bc8f9e19d7e4adc949958fbd9.zip
Fix up doc install issue (bug 296669).
Package-Manager: portage-2.2_rc56/cvs/Linux i686
Diffstat (limited to 'dev-util/bless/files')
-rw-r--r--dev-util/bless/files/bless-0.6.0-docpath.patch108
1 files changed, 38 insertions, 70 deletions
diff --git a/dev-util/bless/files/bless-0.6.0-docpath.patch b/dev-util/bless/files/bless-0.6.0-docpath.patch
index 0def24d27e98..b1121424d88b 100644
--- a/dev-util/bless/files/bless-0.6.0-docpath.patch
+++ b/dev-util/bless/files/bless-0.6.0-docpath.patch
@@ -1,103 +1,71 @@
diff --git a/Makefile.am b/Makefile.am
-index 33f265b..23fcb0e 100644
+index 33f265b..346326d 100644
--- a/Makefile.am
+++ b/Makefile.am
-@@ -35,10 +35,10 @@ dist-hook:
+@@ -1,6 +1,9 @@
+ EXTRA_DIST = AUTHORS COPYING NEWS README README.packaging \
+ bless.mdp bless.mds bless.spec autogen.sh bless.mi
+
++doc_DATA = AUTHORS COPYING INSTALL ChangeLog NEWS \
++ README README.packaging bless.spec
++
+ SUBDIRS = po builder src bin data doc . tests
+
+ DIST_SUBDIRS= po builder src bin doc data tests
+@@ -34,11 +37,5 @@ bless-builder:
+ dist-hook:
bzr log > $(distdir)/ChangeLog
- install-data-local:
+-install-data-local:
- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)
-+ $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
- $(INSTALL_DATA) AUTHORS COPYING INSTALL ChangeLog NEWS \
- README README.packaging bless.spec \
+- $(INSTALL_DATA) AUTHORS COPYING INSTALL ChangeLog NEWS \
+- README README.packaging bless.spec \
- $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)
-+ $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
-
+-
uninstall-local:
rm -rf $(DESTDIR)$(libdir)/$(PACKAGE_NAME)
-diff --git a/data/Makefile.am b/data/Makefile.am
-index 13ea7ed..207c17a 100644
---- a/data/Makefile.am
-+++ b/data/Makefile.am
-@@ -12,7 +12,7 @@ PWD=$(shell pwd)
- help_script.sh: help_script.tmpl
- sed -e 's,@blessdocdir\@,$(PWD)/../doc,g' help_script.tmpl > help_script.sh
- chmod +x help_script.sh
-- sed -e 's,@blessdocdir\@,$(datadir)/doc/$(PACKAGE_NAME),g' help_script.tmpl > help_script.sh.install
-+ sed -e 's,@blessdocdir\@,$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION),g' help_script.tmpl > help_script.sh.install
-
- install-data-local:
- $(INSTALL) -d $(DESTDIR)$(datadir)/$(PACKAGE_NAME)
diff --git a/doc/Makefile.am b/doc/Makefile.am
-index b18e94a..c0e700d 100644
+index b18e94a..d7eecc6 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
-@@ -1,4 +1,4 @@
+@@ -1,4 +1 @@
SUBDIRS= developer user
-
- uninstall-local:
+-
+-uninstall-local:
- rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)
-+ rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
-diff --git a/doc/developer/Makefile.am b/doc/developer/Makefile.am
-index 65911f8..c13f216 100644
---- a/doc/developer/Makefile.am
-+++ b/doc/developer/Makefile.am
-@@ -4,8 +4,8 @@ DOCS=$(srcdir)/en/*.xml \
- EXTRA_DIST=$(DOCS) bless-docs.source
-
- #install-data-local:
--# $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/developer
--# $(INSTALL_DATA) $(MD_FILES) $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/developer
-+# $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/developer
-+# $(INSTALL_DATA) $(MD_FILES) $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/developer
-
- #uninstall-local:
--# rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/developer
-+# rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/developer
diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am
-index 729b295..b1d371d 100644
+index 729b295..58a1358 100644
--- a/doc/user/Makefile.am
+++ b/doc/user/Makefile.am
-@@ -10,7 +10,7 @@ noinst_SCRIPTS=$(OMF)
+@@ -7,6 +7,11 @@ CLEANFILES=$(OMF)
+
+ noinst_SCRIPTS=$(OMF)
+
++docmandir=$(docdir)/user
++docfigsdir=$(docmandir)/figures
++
++docfigs_DATA=$(FIGURES)
++docman_DATA=$(DOCS) $(wildcard *.html)
$(OMF): $(OMF).in
if [ -x `which scrollkeeper-preinstall` ]; then \
-- scrollkeeper-preinstall file:$(datadir)/doc/$(PACKAGE_NAME)/user/bless-manual.xml $(OMF).in $(OMF); \
-+ scrollkeeper-preinstall file:$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user/bless-manual.xml $(OMF).in $(OMF); \
- else \
- cp $(OMF).in $(OMF); \
- fi
-@@ -27,22 +27,22 @@ dist-hook: doc
+@@ -27,11 +32,6 @@ dist-hook: doc
rm html_file_list
install-data-local:
- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user
- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user/figures
-+ $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user
-+ $(INSTALL) -d $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user/figures
- $(INSTALL_DATA) $(DOCS) $(wildcard *.html) \
+- $(INSTALL_DATA) $(DOCS) $(wildcard *.html) \
- $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user
- $(INSTALL_DATA) $(FIGURES) $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user/figures
-- $(INSTALL) -d $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-- $(INSTALL_DATA) $(OMF) $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-+ $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user
-+ $(INSTALL_DATA) $(FIGURES) $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user/figures
-+ $(INSTALL) -d $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
-+ $(INSTALL_DATA) $(OMF) $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
+ $(INSTALL) -d $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
+ $(INSTALL_DATA) $(OMF) $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
if WITH_SCROLLKEEPER
-- scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-+ scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
+@@ -39,7 +39,6 @@ if WITH_SCROLLKEEPER
endif
uninstall-local:
- rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)/user
-- rm $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)/$(OMF)
-+ rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/user
-+ rm $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/$(OMF)
+ rm $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)/$(OMF)
if WITH_SCROLLKEEPER
-- scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-+ scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
- endif
-- rm -rf $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)
-+ rm -rf $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
-
+ scrollkeeper-update -o $(DESTDIR)$(datadir)/omf/$(PACKAGE_NAME)