From: Jakub Bogusz Date: Wed, 9 Aug 2006 17:12:34 +0000 (+0000) Subject: - use gtkdochelpdir rather than docdir to avoid clash with autoconf (following gtk... X-Git-Tag: auto/th/gnome-common-2_12_0-3~1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=83c80d5b5961e45c083eb752e84452ffc8675a85;p=packages%2Fgnome-common.git - use gtkdochelpdir rather than docdir to avoid clash with autoconf (following gtk-doc sources) Changed files: gnome-common-docdir.patch -> 1.1 --- diff --git a/gnome-common-docdir.patch b/gnome-common-docdir.patch new file mode 100644 index 0000000..7beb88b --- /dev/null +++ b/gnome-common-docdir.patch @@ -0,0 +1,64 @@ +--- gnome-common-2.12.0/doc-build/xmldocs.make.orig 2005-01-03 06:43:23.000000000 +0100 ++++ gnome-common-2.12.0/doc-build/xmldocs.make 2006-08-09 19:13:17.384774000 +0200 +@@ -34,9 +34,9 @@ + + + # ********** Begin of section some packagers may need to modify ********** +-# This variable (docdir) specifies where the documents should be installed. ++# This variable (gtkdochelpdir) specifies where the documents should be installed. + # This default value should work for most packages. +-docdir = $(datadir)/gnome/help/$(docname)/$(lang) ++gtkdochelpdir = $(datadir)/gnome/help/$(docname)/$(lang) + + # ********** You should not have to edit below this line ********** + xml_files = $(entities) $(docname).xml +@@ -63,15 +63,15 @@ + fi + + install-data-local: omf +- $(mkinstalldirs) $(DESTDIR)$(docdir) ++ $(mkinstalldirs) $(DESTDIR)$(gtkdochelpdir) + for file in $(xml_files); do \ +- cp $(srcdir)/$$file $(DESTDIR)$(docdir); \ ++ cp $(srcdir)/$$file $(DESTDIR)$(gtkdochelpdir); \ + done + if test "$(figdir)"; then \ +- $(mkinstalldirs) $(DESTDIR)$(docdir)/$(figdir); \ ++ $(mkinstalldirs) $(DESTDIR)$(gtkdochelpdir)/$(figdir); \ + for file in $(srcdir)/$(figdir)/*.png; do \ + basefile=`echo $$file | sed -e 's,^.*/,,'`; \ +- $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \ ++ $(INSTALL_DATA) $$file $(DESTDIR)$(gtkdochelpdir)/$(figdir)/$$basefile; \ + done \ + fi + +@@ -83,14 +83,14 @@ + -if test "$(figdir)"; then \ + for file in $(srcdir)/$(figdir)/*.png; do \ + basefile=`echo $$file | sed -e 's,^.*/,,'`; \ +- rm -f $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \ ++ rm -f $(DESTDIR)$(gtkdochelpdir)/$(figdir)/$$basefile; \ + done; \ +- rmdir $(DESTDIR)$(docdir)/$(figdir); \ ++ rmdir $(DESTDIR)$(gtkdochelpdir)/$(figdir); \ + fi + -for file in $(xml_files); do \ +- rm -f $(DESTDIR)$(docdir)/$$file; \ ++ rm -f $(DESTDIR)$(gtkdochelpdir)/$$file; \ + done +- -rmdir $(DESTDIR)$(docdir) ++ -rmdir $(DESTDIR)$(gtkdochelpdir) + + clean-local: clean-local-doc clean-local-omf + +--- gnome-common-2.12.0/doc-build/omf.make.orig 2006-08-09 19:07:44.823990000 +0200 ++++ gnome-common-2.12.0/doc-build/omf.make 2006-08-09 19:13:24.953247000 +0200 +@@ -36,7 +36,7 @@ + + omf_timestamp: $(omffile) + -for file in $(omffile); do \ +- scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $$file.out; \ ++ scrollkeeper-preinstall $(gtkdochelpdir)/$(docname).xml $(srcdir)/$$file $$file.out; \ + done; \ + touch omf_timestamp +