12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- --- LVM2.2.02.79.orig/tools/Makefile.in 2010-10-15 11:41:21.000000000 +0200
- +++ LVM2.2.02.79/tools/Makefile.in 2010-12-26 22:15:11.000000000 +0100
- @@ -158,7 +158,7 @@ liblvm2cmd.$(LIB_SUFFIX).$(LIB_VERSION):
-
- .commands: $(srcdir)/commands.h $(srcdir)/cmdnames.h Makefile
- $(CC) -E -P $(srcdir)/cmdnames.h 2> /dev/null | \
- - egrep -v '^ *(|#.*|dumpconfig|formats|help|pvdata|segtypes|version) *$$' > .commands
- + egrep -v '^ *(#.*|dumpconfig|formats|help|pvdata|segtypes|version) *$$' > .commands
-
- ifneq ("$(CFLOW_CMD)", "")
- CFLOW_SOURCES = $(addprefix $(srcdir)/, $(SOURCES))
- @@ -171,18 +171,22 @@ endif
- install_dmsetup_dynamic install_dmsetup_static
-
- install_cmdlib_include: $(srcdir)/lvm2cmd.h
- - $(INSTALL_DATA) -D $< $(includedir)/$(<F)
- + $(INSTALL_DIR) $(includedir)
- + $(INSTALL_DATA) $< $(includedir)/$(<F)
-
- install_cmdlib_dynamic: liblvm2cmd.$(LIB_SUFFIX)
- - $(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION)
- + $(INSTALL_DIR) $(libdir)
- + $(INSTALL_PROGRAM) $< $(libdir)/$(<F).$(LIB_VERSION)
- $(INSTALL_DIR) $(usrlibdir)
- $(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F)
-
- install_cmdlib_static: liblvm2cmd-static.a
- - $(INSTALL_DATA) -D $< $(usrlibdir)/liblvm2cmd.a
- + $(INSTALL_DIR) $(usrlibdir)
- + $(INSTALL_DATA) $< $(usrlibdir)/liblvm2cmd.a
-
- install_tools_dynamic: lvm .commands
- - $(INSTALL_PROGRAM) -D lvm $(sbindir)/lvm
- + $(INSTALL_DIR) $(sbindir)
- + $(INSTALL_PROGRAM) lvm $(sbindir)/lvm
- @echo Creating symbolic links for individual commands in $(sbindir)
- @for v in `cat .commands`; do \
- echo "$(LN_S) -f lvm $(sbindir)/$$v"; \
- @@ -190,13 +194,16 @@ install_tools_dynamic: lvm .commands
- done;
-
- install_tools_static: lvm.static
- - $(INSTALL_PROGRAM) -D $< $(staticdir)/$(<F)
- + $(INSTALL_DIR) $(staticdir)
- + $(INSTALL_PROGRAM) $< $(staticdir)/$(<F)
-
- install_dmsetup_dynamic: dmsetup
- - $(INSTALL_PROGRAM) -D $< $(sbindir)/$(<F)
- + $(INSTALL_DIR) $(sbindir)
- + $(INSTALL_PROGRAM) $< $(sbindir)/$(<F)
-
- install_dmsetup_static: dmsetup.static
- - $(INSTALL_PROGRAM) -D $< $(staticdir)/$(<F)
- + $(INSTALL_DIR) $(staticdir)
- + $(INSTALL_PROGRAM) $< $(staticdir)/$(<F)
-
- install_device-mapper: $(INSTALL_DMSETUP_TARGETS)
-
|