aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/Makefile.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:47:28 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:47:28 +0300
commit6719bb6e1c5576e857ab6fc121ec31a75161a3e7 (patch)
tree97cba951750ceb73899e48490dbb33674e5b29e1 /awklib/Makefile.in
parent558ba97bdeac5a68bb9248a5c4cdf2feeb24e771 (diff)
downloadegawk-6719bb6e1c5576e857ab6fc121ec31a75161a3e7.tar.gz
egawk-6719bb6e1c5576e857ab6fc121ec31a75161a3e7.tar.bz2
egawk-6719bb6e1c5576e857ab6fc121ec31a75161a3e7.zip
Move to gawk-3.0.2.
Diffstat (limited to 'awklib/Makefile.in')
-rw-r--r--awklib/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/awklib/Makefile.in b/awklib/Makefile.in
index 87209881..895e8886 100644
--- a/awklib/Makefile.in
+++ b/awklib/Makefile.in
@@ -73,15 +73,16 @@ group.awk: $(srcdir)/eg/lib/groupawk.in
sed 's;/usr/local/libexec/awk;$(libexecdir);' < groupawk.in) > group.awk
install: igawk $(AUXPROGS) $(AUXAWK)
- $(INSTALL_PROGRAM) igawk $(bindir)/igawk && chmod 755 $(bindir)/igawk
+ $(INSTALL_PROGRAM) igawk $(bindir)/igawk
for i in $(AUXPROGS) ; do \
$(INSTALL_PROGRAM) $$i $(libexecdir)/$$i ; \
done
for i in $(AUXAWK) $(srcdir)/eg/lib/*.awk ; do \
- $(INSTALL_DATA) $$i $(datadir)/$$i ; \
+ progname=`echo $i | sed 's;.*/;;'` ; \
+ $(INSTALL_DATA) $$i $(datadir)/$$progname ; \
done
-# libexecdir and bindir are removed in the top level Makefile's uninstall
+# libexecdir and datadir are removed in the top level Makefile's uninstall
uninstall:
rm -fr $(libexecdir)/* $(datadir)/*
rm -f $(bindir)/igawk