2
1

gawk-no-versioned.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. From 9cb7ff17dd7f81589f0891413efa5d4aec1a1598 Mon Sep 17 00:00:00 2001
  2. From: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. Date: Mon, 7 Jun 2010 11:33:50 -0300
  4. Subject: [PATCH] Disabled versioned installation to save space and use symlinks where it's appropiate
  5. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  6. ---
  7. Makefile.in | 3 ++-
  8. doc/Makefile.in | 2 +-
  9. 2 files changed, 3 insertions(+), 2 deletions(-)
  10. diff --git a/Makefile.in b/Makefile.in
  11. index f946ee1..a3d467a 100644
  12. --- a/Makefile.in
  13. +++ b/Makefile.in
  14. @@ -392,7 +392,7 @@ CLEANFILES = core core.*
  15. MAINTAINERCLEANFILES = version.c
  16. # We want hard links for install-exec-hook, below
  17. -LN = ln
  18. +LN = $(LN_S)
  19. all: config.h
  20. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  21. @@ -993,6 +993,7 @@ uninstall-am: uninstall-binPROGRAMS
  22. # (This is done universally, which may not always be right, but
  23. # there's no easy way to distinguish GNU from non-GNU systems.)
  24. install-exec-hook:
  25. +foo:
  26. (cd $(DESTDIR)$(bindir); \
  27. $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
  28. $(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
  29. diff --git a/doc/Makefile.in b/doc/Makefile.in
  30. index b1533e7..8b91694 100644
  31. --- a/doc/Makefile.in
  32. +++ b/doc/Makefile.in
  33. @@ -272,7 +272,7 @@ AWKCARD = awkcard.ps
  34. # make pgawk.1 a link to gawk.1 in the installed man directory.
  35. # We want hard links for install-data-hook, below
  36. -LN = ln
  37. +LN = $(LN_S)
  38. all: all-am
  39. .SUFFIXES:
  40. --
  41. 1.6.4.4