patch-Makefile_am 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. --- util-linux-2.24.2.orig/Makefile.am 2014-04-23 15:28:29.131326219 +0200
  2. +++ util-linux-2.24.2/Makefile.am 2014-06-17 11:59:16.244597631 +0200
  3. @@ -9,8 +9,6 @@ AM_LDFLAGS =
  4. # Add gettext stuff to the global LDADD for systems with separate libintl
  5. # library. The LTLIBINTL is generated by AM_GNU_GETTEXT macro.
  6. #
  7. -LDADD = $(LTLIBINTL)
  8. -
  9. # Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals.
  10. # Unlike with other dist primaries, the files are not distributed if the
  11. # conditional is false.
  12. @@ -56,7 +54,7 @@ CHECK_LOCALS =
  13. EXTRA_DIST =
  14. CLEANFILES =
  15. -SUBDIRS = po
  16. +SUBDIRS =
  17. RCS_FIND_IGNORE = \( -name SCCS -o -name BitKeeper -o -name .svn -o \
  18. -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
  19. @@ -93,41 +91,6 @@ include bash-completion/Makemodule.am
  20. include tests/Makemodule.am
  21. -#
  22. -# Don't rely on configure.ac AC_CONFIG_FILES for install paths.
  23. -#
  24. -# The paths should be expanded at make time rather than configure:
  25. -# - to support 'make install prefix=/foo DESTDIR=/foo'
  26. -# - to recursively expands the paths (e.g. AC_CONFIG_FILES expands
  27. -# '@usrsbin_execdir@' to ${exec_prefix}/sbin')
  28. -#
  29. -edit_cmd = sed \
  30. - -e 's|@prefix[@]|$(prefix)|g' \
  31. - -e 's|@exec_prefix[@]|$(exec_prefix)|g' \
  32. - -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
  33. - -e 's|@datadir[@]|$(datadir)|g' \
  34. - -e 's|@sbindir[@]|$(sbindir)|g' \
  35. - -e 's|@bindir[@]|$(bindir)|g' \
  36. - -e 's|@includedir[@]|$(includedir)|g' \
  37. - -e 's|@localstatedir[@]|$(localstatedir)|g' \
  38. - -e 's|@usrlib_execdir[@]|$(usrlib_execdir)|g' \
  39. - -e 's|@usrbin_execdir[@]|$(usrbin_execdir)|g' \
  40. - -e 's|@usrsbin_execdir[@]|$(usrsbin_execdir)|g' \
  41. - -e 's|@VERSION[@]|$(VERSION)|g' \
  42. - -e 's|@LIBUUID_VERSION[@]|$(LIBUUID_VERSION)|g' \
  43. - -e 's|@LIBMOUNT_VERSION[@]|$(LIBMOUNT_VERSION)|g' \
  44. - -e 's|@LIBBLKID_VERSION[@]|$(LIBBLKID_VERSION)|g'
  45. -
  46. -CLEANFILES += $(PATHFILES)
  47. -EXTRA_DIST += $(PATHFILES:=.in)
  48. -
  49. -$(PATHFILES): Makefile
  50. - @ rm -f $@ $@.tmp
  51. - $(AM_V_GEN) srcdir=''; \
  52. - test -f ./$@.in || srcdir=$(srcdir)/; \
  53. - $(edit_cmd) $${srcdir}$@.in >$@.tmp
  54. - @ mv $@.tmp $@
  55. -
  56. # Arrange so that .tarball-version appears only in the distribution
  57. # tarball, and never in a checked-out repository.
  58. dist-hook: