# HG changeset patch
# User Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
# Date 1251833867 10800
# Node ID ad1105c7470759d5111fe2a48143c72b4205a40e
# Parent 9af5eef7ea76c7e9d1657d2e8cd4df9ed126b596
Fix error when executing 'make install' using install tool 7.2
Signed-off-by: Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
diff -r 9af5eef7ea76 -r ad1105c74707 Makefile.am
--- a/Makefile.am Mon Aug 24 16:14:41 2009 -0700
+++ b/Makefile.am Tue Sep 01 16:37:47 2009 -0300
@@ -144,15 +144,29 @@
schema/ElementConformsToProfile.registration \
schema/HostedAccessPoint.registration
-pkgdata_DATA = $(MOFS) $(REGS) $(INTEROP_MOFS) $(INTEROP_REGS)
pkgdata_SCRIPTS = provider-register.sh
-EXTRA_DIST = schema $(pkgdata_DATA) $(pkgdata_SCRIPTS) \
- libvirt-cim.spec.in libvirt-cim.spec \
+EXTRA_DIST = schema $(MOFS) $(REGS) $(INTEROP_MOFS) $(INTEROP_REGS) \
+ $(pkgdata_SCRIPTS) libvirt-cim.spec.in libvirt-cim.spec \
doc/CodingStyle doc/SubmittingPatches \
.changeset .revision \
examples/diskpool.conf
+install-data-local:
+ $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)"
+ $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(MOFS)
+ $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(REGS)
+ $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_MOFS)
+ $(install_sh_DATA) -t "$(DESTDIR)$(pkgdatadir)" $(INTEROP_REGS)
+
+uninstall-local:
+ @list='$(MOFS) $(REGS) $(INTEROP_MOFS) $(INTEROP_REGS)'; \
+ for p in $$list; do \
+ f=`echo "$$p" | sed 's|^.*/||;'`; \
+ echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
+ rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
+ done
+
preinstall:
sh -x base_schema/install_base_schema.sh `pwd`/base_schema
Show replies by date