~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Arnold D. Robbins
  • Date: 2015-04-05 08:20:41 UTC
  • mfrom: (408.12.66)
  • Revision ID: git-v1:4de12ef40f9ea9a0b715903cfe6da51b97eedb77
Merge branch 'master' into cmake

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        awklib \
70
70
        po \
71
71
        extension \
 
72
        extras \
72
73
        test
73
74
 
74
75
# what to make and install
157
158
install-exec-hook:
158
159
        (cd $(DESTDIR)$(bindir); \
159
160
        $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
160
 
        if [ ! -f awk ]; \
161
 
        then    $(LN_S) gawk$(EXEEXT) awk; \
 
161
        if [ ! -f awk$(EXEEXT) ]; \
 
162
        then    $(LN_S) gawk$(EXEEXT) awk$(EXEEXT); \
162
163
        fi; exit 0)
163
164
 
164
165
# Undo the above when uninstalling
165
166
uninstall-links:
166
167
        (cd $(DESTDIR)$(bindir); \
167
 
        if [ -f awk ] && cmp awk gawk$(EXEEXT) > /dev/null; then rm -f awk; fi ; \
 
168
        if [ -f awk$(EXEEXT) ] && cmp awk$(EXEEXT) gawk$(EXEEXT) > /dev/null; then rm -f awk$(EXEEXT); fi ; \
168
169
        rm -f gawk-$(VERSION)$(EXEEXT); exit 0)
169
170
 
170
171
uninstall-recursive: uninstall-links