]> git.pld-linux.org Git - packages/gnome-common.git/commitdiff
- use gtkdochelpdir rather than docdir to avoid clash with autoconf (following gtk...
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 9 Aug 2006 17:12:34 +0000 (17:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnome-common-docdir.patch -> 1.1

gnome-common-docdir.patch [new file with mode: 0644]

diff --git a/gnome-common-docdir.patch b/gnome-common-docdir.patch
new file mode 100644 (file)
index 0000000..7beb88b
--- /dev/null
@@ -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
This page took 0.14031 seconds and 4 git commands to generate.