patch-tools_Makefile_in 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --- LVM2.2.02.51.orig/tools/Makefile.in Thu May 21 13:11:29 2009
  2. +++ LVM2.2.02.51/tools/Makefile.in Mon Feb 15 23:30:04 2010
  3. @@ -137,7 +137,7 @@ liblvm2cmd.$(LIB_SUFFIX): liblvm2cmd.a $(LDDEPS)
  4. .commands: commands.h cmdnames.h Makefile
  5. $(CC) -E -P cmdnames.h 2> /dev/null | \
  6. - egrep -v '^ *(|#.*|dumpconfig|formats|help|pvdata|segtypes|version) *$$' > .commands
  7. + egrep -v '^ *\(|#.*|dumpconfig|formats|help|pvdata|segtypes|version\) *$$' > .commands
  8. .PHONY: install_cmdlib_dynamic install_cmdlib_static \
  9. install_tools_dynamic install_tools_static
  10. @@ -160,21 +160,24 @@ cflow: lvm.cflow lvm.xref lvm.tree lvm.rtree lvm.rxref
  11. endif
  12. install_cmdlib_dynamic: liblvm2cmd.$(LIB_SUFFIX)
  13. - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd.$(LIB_SUFFIX) \
  14. + $(INSTALL) -d $(libdir)
  15. + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd.$(LIB_SUFFIX) \
  16. $(libdir)/liblvm2cmd.$(LIB_SUFFIX).$(LIB_VERSION)
  17. $(LN_S) -f liblvm2cmd.$(LIB_SUFFIX).$(LIB_VERSION) $(libdir)/liblvm2cmd.$(LIB_SUFFIX)
  18. $(INSTALL) -D $(OWNER) $(GROUP) -m 444 lvm2cmd.h \
  19. $(includedir)/lvm2cmd.h
  20. install_cmdlib_static: liblvm2cmd-static.a
  21. - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd-static.a \
  22. + $(INSTALL) -d $(libdir)
  23. + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd-static.a \
  24. $(libdir)/liblvm2cmd.a.$(LIB_VERSION)
  25. $(LN_S) -f liblvm2cmd.a.$(LIB_VERSION) $(libdir)/liblvm2cmd.a
  26. $(INSTALL) -D $(OWNER) $(GROUP) -m 444 lvm2cmd.h \
  27. $(includedir)/lvm2cmd.h
  28. install_tools_dynamic: lvm .commands
  29. - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) lvm \
  30. + $(INSTALL) -d $(sbindir)
  31. + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) lvm \
  32. $(sbindir)/lvm
  33. @echo Creating symbolic links for individual commands in $(sbindir)
  34. @( \
  35. @@ -185,14 +188,17 @@ install_tools_dynamic: lvm .commands
  36. )
  37. install_tools_static: lvm.static
  38. - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) lvm.static \
  39. + $(INSTALL) -d $(sbindir)
  40. + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) lvm.static \
  41. $(staticdir)/lvm.static
  42. install_dmsetup_dynamic: dmsetup
  43. - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
  44. + $(INSTALL) -d $(sbindir)
  45. + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
  46. install_dmsetup_static: dmsetup.static
  47. - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
  48. + $(INSTALL) -d $(sbindir)
  49. + $(INSTALL) $(OWNER) $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
  50. install_device-mapper: $(INSTALL_DMSETUP_TARGETS)