~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Arnold D. Robbins
  • Date: 2014-11-12 08:11:13 UTC
  • mfrom: (408.5.334)
  • mto: (408.27.1) (615.1.1)
  • mto: This revision was merged to the branch mainline in revision 531.
  • Revision ID: git-v1:20b2458ba07a9190cfd5bc942da604482036a5b0
Merge branch 'gawk-4.1-stable'

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
install-exec-hook:
159
159
        (cd $(DESTDIR)$(bindir); \
160
160
        $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
161
 
        if [ ! -f awk ]; \
162
 
        then    $(LN_S) gawk$(EXEEXT) awk; \
 
161
        if [ ! -f awk$(EXEEXT) ]; \
 
162
        then    $(LN_S) gawk$(EXEEXT) awk$(EXEEXT); \
163
163
        fi; exit 0)
164
164
 
165
165
# Undo the above when uninstalling
166
166
uninstall-links:
167
167
        (cd $(DESTDIR)$(bindir); \
168
 
        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 ; \
169
169
        rm -f gawk-$(VERSION)$(EXEEXT); exit 0)
170
170
 
171
171
uninstall-recursive: uninstall-links