# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../scrollkeeper/xmlcatalog.patch
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---

--- ./extract/dtds/Makefile.in.orig	2003-12-06 05:18:01.000000000 -0300
+++ ./extract/dtds/Makefile.in	2007-07-10 16:25:39.000000000 -0400
@@ -179,6 +179,7 @@
 target_os = @target_os@
 target_vendor = @target_vendor@
 CATALOG = @XML_CATALOG@
+XMLCATALOG = /usr/bin/xmlcatalog
 dtdsdir = $(datadir)/xml/scrollkeeper/dtds
 dtds_HEADERS = scrollkeeper-omf.dtd scrollkeeper-cl.dtd
 subdir = extract/dtds
@@ -408,7 +409,7 @@
 
 # ScrollKeeper OMF Variation DTD V1.0
 install-data-hook:
-	-/usr/bin/xmlcatalog --noout --add "public" \
+	-$(XMLCATALOG) --noout --add "public" \
 		"-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \
 		"$(dtdsdir)/scrollkeeper-omf.dtd" $(CATALOG)
 
@@ -418,7 +419,7 @@
 
 # ScrollKeeper OMF Variation DTD V1.0
 uninstall-local:
-	-/usr/bin/xmlcatalog --noout --del \
+	-$(XMLCATALOG) --noout --del \
 		"$(dtdsdir)/scrollkeeper-omf.dtd" $(CATALOG)
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.