[Libvirt-cim] [PATCH] Honor DESTDIR in install-data-local hook

Jim Fehlig jfehlig at novell.com
Mon Nov 23 22:30:01 UTC 2009


# HG changeset patch
# User Jim Fehlig <jfehlig at novell.com>
# Date 1259014872 25200
# Node ID 53fa81ef222fbab7f334c1268158ed270af18993
# Parent  33a6a50f64e08df1585a249d96d89e4e03d663e4
Honor DESTDIR in install-data-local hook

    Signed-off-by: Jim Fehlig <jfehlig at novell.com>

diff -r 33a6a50f64e0 -r 53fa81ef222f Makefile.am
--- a/Makefile.am	Wed Nov 11 19:54:27 2009 -0800
+++ b/Makefile.am	Mon Nov 23 15:21:12 2009 -0700
@@ -172,7 +172,7 @@
 	$(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_MOFS)
 	$(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_REGS)
 	if [[ @CIMSERVER@ != pegasus ]]; then \
-	sed -i '/^# --/,/^# --!/d' $(subst schema,$(pkgdatadir), $(PGINTEROP_REGS)); \
+	sed -i '/^# --/,/^# --!/d' $(subst schema,$(DESTDIR)$(pkgdatadir), $(PGINTEROP_REGS)); \
 	fi
 
 uninstall-local:




More information about the Libvirt-cim mailing list