summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-10-12 13:49:11 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-11-11 23:14:10 +0200
commit0a050fa206e5d899f553b6ac492d389cb39591a2 (patch)
treef34f09369aed47f02088b95458c45f24cefbfed0 /Makefile.in
parentb4cf3cc470eb1200ec90fcc7ad5b2d069059cf7e (diff)
downloadgawk-0a050fa206e5d899f553b6ac492d389cb39591a2.tar.gz
OS/2 fixes.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 4d50757d..39143e2e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1156,14 +1156,14 @@ uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS
install-exec-hook:
(cd $(DESTDIR)$(bindir); \
$(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
- if [ ! -f awk ]; \
- then $(LN_S) gawk$(EXEEXT) awk; \
+ if [ ! -f awk$(EXEEXT) ]; \
+ then $(LN_S) gawk$(EXEEXT) awk$(EXEEXT); \
fi; exit 0)
# Undo the above when uninstalling
uninstall-links:
(cd $(DESTDIR)$(bindir); \
- if [ -f awk ] && cmp awk gawk$(EXEEXT) > /dev/null; then rm -f awk; fi ; \
+ if [ -f awk$(EXEEXT) ] && cmp awk$(EXEEXT) gawk$(EXEEXT) > /dev/null; then rm -f awk$(EXEEXT); fi ; \
rm -f gawk-$(VERSION)$(EXEEXT); exit 0)
uninstall-recursive: uninstall-links