123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- --- LVM2.2.02.51.orig/tools/Makefile.in Thu May 21 13:11:29 2009
- +++ LVM2.2.02.51/tools/Makefile.in Mon Feb 15 23:30:04 2010
- @@ -137,7 +137,7 @@ liblvm2cmd.$(LIB_SUFFIX): liblvm2cmd.a $(LDDEPS)
-
- .commands: commands.h cmdnames.h Makefile
- $(CC) -E -P cmdnames.h 2> /dev/null | \
- - egrep -v '^ *(|#.*|dumpconfig|formats|help|pvdata|segtypes|version) *$$' > .commands
- + egrep -v '^ *\(|#.*|dumpconfig|formats|help|pvdata|segtypes|version\) *$$' > .commands
-
- .PHONY: install_cmdlib_dynamic install_cmdlib_static \
- install_tools_dynamic install_tools_static
- @@ -160,21 +160,24 @@ cflow: lvm.cflow lvm.xref lvm.tree lvm.rtree lvm.rxref
- endif
-
- install_cmdlib_dynamic: liblvm2cmd.$(LIB_SUFFIX)
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd.$(LIB_SUFFIX) \
- + $(INSTALL) -d $(libdir)
- + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd.$(LIB_SUFFIX) \
- $(libdir)/liblvm2cmd.$(LIB_SUFFIX).$(LIB_VERSION)
- $(LN_S) -f liblvm2cmd.$(LIB_SUFFIX).$(LIB_VERSION) $(libdir)/liblvm2cmd.$(LIB_SUFFIX)
- $(INSTALL) -D $(OWNER) $(GROUP) -m 444 lvm2cmd.h \
- $(includedir)/lvm2cmd.h
-
- install_cmdlib_static: liblvm2cmd-static.a
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd-static.a \
- + $(INSTALL) -d $(libdir)
- + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd-static.a \
- $(libdir)/liblvm2cmd.a.$(LIB_VERSION)
- $(LN_S) -f liblvm2cmd.a.$(LIB_VERSION) $(libdir)/liblvm2cmd.a
- $(INSTALL) -D $(OWNER) $(GROUP) -m 444 lvm2cmd.h \
- $(includedir)/lvm2cmd.h
-
- install_tools_dynamic: lvm .commands
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) lvm \
- + $(INSTALL) -d $(sbindir)
- + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) lvm \
- $(sbindir)/lvm
- @echo Creating symbolic links for individual commands in $(sbindir)
- @( \
- @@ -185,14 +188,17 @@ install_tools_dynamic: lvm .commands
- )
-
- install_tools_static: lvm.static
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) lvm.static \
- + $(INSTALL) -d $(sbindir)
- + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) lvm.static \
- $(staticdir)/lvm.static
-
- install_dmsetup_dynamic: dmsetup
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
- + $(INSTALL) -d $(sbindir)
- + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
-
- install_dmsetup_static: dmsetup.static
- - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
- + $(INSTALL) -d $(sbindir)
- + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
-
- install_device-mapper: $(INSTALL_DMSETUP_TARGETS)
-
|