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>
|
2015-04-29 21:18:19 +02:00
|
|
|
[Gustavo: update for 4.1.2]
|
2010-06-07 16:35:58 +02:00
|
|
|
|
2015-04-29 21:18:19 +02:00
|
|
|
diff -Nura gawk-4.1.2.orig/Makefile.in gawk-4.1.2/Makefile.in
|
|
|
|
--- gawk-4.1.2.orig/Makefile.in 2015-04-29 16:11:09.367925925 -0300
|
|
|
|
+++ gawk-4.1.2/Makefile.in 2015-04-29 16:11:25.308466495 -0300
|
|
|
|
@@ -554,7 +554,7 @@
|
|
|
|
CLEANFILES = core core.*
|
2010-06-07 16:35:58 +02:00
|
|
|
|
|
|
|
# We want hard links for install-exec-hook, below
|
|
|
|
-LN = ln
|
|
|
|
+LN = $(LN_S)
|
|
|
|
|
2015-04-29 21:18:19 +02:00
|
|
|
# For some make's, e.g. OpenBSD, that don't define this
|
|
|
|
RM = rm -f
|
|
|
|
@@ -1173,6 +1173,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 ; \
|
2015-04-29 21:18:19 +02:00
|
|
|
if [ ! -f awk$(EXEEXT) ]; \
|