90d5db71af
in PR 31893. Patch changes unknown.
44 lines
1.3 KiB
Text
44 lines
1.3 KiB
Text
$NetBSD: patch-aa,v 1.2 2006/03/11 13:04:07 wiz Exp $
|
|
|
|
--- Makefile.in.orig 2005-10-23 20:59:29.000000000 +0900
|
|
+++ Makefile.in
|
|
@@ -46,7 +46,7 @@ LN_S = @LN_S@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
prefix = @prefix@
|
|
-binprefix =
|
|
+binprefix = j
|
|
manprefix =
|
|
|
|
bindir = @bindir@
|
|
@@ -194,14 +194,8 @@ alloca.o: alloca.c
|
|
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$(exec_suffix) \
|
|
+ $(bindir)/$(binprefix)gawk$(exec_suffix)
|
|
cd doc && $(MAKE) install
|
|
cd awklib && $(MAKE) install
|
|
|
|
@@ -213,12 +207,7 @@ install-strip:
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
|
|
|
|
uninstall:
|
|
- (cd $(bindir); \
|
|
- if [ -f awk ] && cmp awk gawk > /dev/null; then rm -f awk; fi)
|
|
- (fullname=gawk-$(REL).`gawk '{print $$3}' $(srcdir)/patchlevel.h`+mb$(MBREL) ; \
|
|
- cd $(bindir); \
|
|
- if cmp gawk $$fullname; then rm -f gawk; fi ; \
|
|
- rm -f $(bindir)/$$fullname)
|
|
+ rm -f $(bindir)/$(binprefix)gawk$(exec_suffix)
|
|
cd doc && $(MAKE) uninstall
|
|
cd awklib && $(MAKE) uninstall
|
|
-rmdir $(datadir) $(libexecdir)
|