File mallard-1.0.2-opensuse.patch of Package mallard-rng
--- Makefile.am.orig
+++ Makefile.am
@@ -7,7 +7,7 @@
cache10dir = $(rngdir)/cache/1.0
cache10_DATA = cache/1.0/cache-1.0.rnc cache/1.0/cache-1.0.rng
-catalogdir = $(sysconfdir)/xml/mallard
+catalogdir = $(sysconfdir)/xml/catalog.d
catalog_DATA = catalog
pkgconfigdir = $(datadir)/pkgconfig
@@ -20,17 +20,17 @@
catalog.in \
mallard-rng.pc.in
-install-exec-hook:
- test -n "$(DESTDIR)" || ( \
- cd $(sysconfdir)/xml; \
- test -f catalog && xmlcatalog --noout --del file://$(sysconfdir)/xml/mallard/catalog catalog >/dev/null; \
- test -e catalog || xmlcatalog --noout --create catalog; \
- xmlcatalog --noout --add nextCatalog file://$(sysconfdir)/xml/mallard/catalog "" catalog >/dev/null; \
- )
+#install-exec-hook:
+# test -n "$(DESTDIR)" || ( \
+# cd $(sysconfdir)/xml; \
+# test -f catalog && xmlcatalog --noout --del file://$(sysconfdir)/xml/mallard/catalog catalog >/dev/null; \
+# test -e catalog || xmlcatalog --noout --create catalog; \
+# xmlcatalog --noout --add nextCatalog file://$(sysconfdir)/xml/mallard/catalog "" catalog >/dev/null; \
+# )
-uninstall-hook:
- test -n "$(DESTDIR)" || ( \
- cd $(sysconfdir)/xml; \
- xmlcatalog --noout --del file://$(sysconfdir)/xml/mallard/catalog catalog >/dev/null; \
- test -s catalog || rm -f catalog; \
- )
+#uninstall-hook:
+# test -n "$(DESTDIR)" || ( \
+# cd $(sysconfdir)/xml; \
+# xmlcatalog --noout --del file://$(sysconfdir)/xml/mallard/catalog catalog >/dev/null; \
+# test -s catalog || rm -f catalog; \
+# )