2011-11-13 23:27:52 +01:00
|
|
|
Disabled versioned installation of binaries to save space.
|
|
|
|
Also use symlinks where it's appropiate.
|
2010-06-07 16:35:58 +02:00
|
|
|
|
|
|
|
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
|
|
|
---
|
|
|
|
|
2011-11-13 23:27:52 +01:00
|
|
|
diff -Nura gawk-4.0.0.orig/Makefile.in gawk-4.0.0/Makefile.in
|
|
|
|
--- gawk-4.0.0.orig/Makefile.in 2011-06-24 05:16:13.000000000 -0300
|
|
|
|
+++ gawk-4.0.0/Makefile.in 2011-11-11 15:31:16.429577288 -0300
|
|
|
|
@@ -403,7 +403,7 @@
|
2010-06-07 16:35:58 +02:00
|
|
|
MAINTAINERCLEANFILES = version.c
|
|
|
|
|
|
|
|
# We want hard links for install-exec-hook, below
|
|
|
|
-LN = ln
|
|
|
|
+LN = $(LN_S)
|
|
|
|
all: config.h
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
|
2011-11-13 23:27:52 +01:00
|
|
|
@@ -1011,6 +1011,7 @@
|
2010-06-07 16:35:58 +02:00
|
|
|
# (This is done universally, which may not always be right, but
|
|
|
|
# there's no easy way to distinguish GNU from non-GNU systems.)
|
|
|
|
install-exec-hook:
|
|
|
|
+foo:
|
|
|
|
(cd $(DESTDIR)$(bindir); \
|
|
|
|
$(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
|
|
|
|
$(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
|