summaryrefslogtreecommitdiff
path: root/japanese/gawk/files/patch-ac
blob: 45cb43c5d494f90fb8cedf61f2028608517abb25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- Makefile.in.orig	Mon Jul 16 20:42:58 2001
+++ Makefile.in	Mon Jul 16 20:48:25 2001
@@ -194,14 +194,8 @@
 mbc.o: Makefile
 
 install:	gawk info installdirs
-	-rm -f $(bindir)/gawk
-	fullname=gawk-$(REL).`./gawk '{print $$3}' $(srcdir)/patchlevel.h`+mb$(MBREL) ; \
-	$(INSTALL_PROGRAM) gawk $(bindir)/$$fullname ; \
-	(cd $(bindir); $(LN) $$fullname gawk)
-	(cd $(bindir); \
-	if [ ! -f awk ]; \
-	then	$(LN_S) gawk awk; \
-	fi; exit 0)
+	$(INSTALL_PROGRAM) gawk \
+		$(bindir)/$(binprefix)gawk$(exec_suffix)
 	cd doc && $(MAKE) install
 	cd awklib && $(MAKE) install