dia/dia-help.patch

41 lines
1.1 KiB
Diff

Index: dia-0.96.1/doc/Makefile.am
===================================================================
--- dia-0.96.1.orig/doc/Makefile.am
+++ dia-0.96.1/doc/Makefile.am
@@ -7,11 +7,11 @@ EXTRA_DIST = \
shape.dtd \
sheet.dtd
-if HAVE_GNOME
+#if HAVE_GNOME
helpdir = $(datadir)/gnome/help/dia
-else
-helpdir = $(pkgdatadir)/help
-endif
+#else
+#helpdir = $(pkgdatadir)/help
+#endif
# a simple rule to symlink en to C
install-data-local:
Index: dia-0.96.1/xmldocs.make
===================================================================
--- dia-0.96.1.orig/xmldocs.make
+++ dia-0.96.1/xmldocs.make
@@ -36,11 +36,11 @@
# ********** Begin of section some packagers may need to modify **********
# This variable (docdir) specifies where the documents should be installed.
# This default value should work for most packages.
-if HAVE_GNOME
+#if HAVE_GNOME
docdir = $(datadir)/gnome/help/$(docname)/$(lang)
-else
-docdir = $(datadir)/help/$(docname)/$(lang)
-endif
+#else
+#docdir = $(datadir)/help/$(docname)/$(lang)
+#endif
# ********** You should not have to edit below this line **********
xml_files = $(entities) $(docname).xml