summaryrefslogtreecommitdiff
path: root/archivers/gcpio/patches/patch-aa
blob: 7fbe3c6763f925b26949779c9de796b9ce9a0526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-aa,v 1.3 2001/07/15 11:34:38 jlam Exp $

--- Makefile.in.orig	Wed Dec 20 11:28:30 1995
+++ Makefile.in
@@ -66,9 +66,9 @@
 exec_prefix = @exec_prefix@
 
 # Prefix for each installed program, normally empty or `g'.
-binprefix = 
+binprefix = g
 # Prefix for each installed man page, normally empty or `g'.
-manprefix = 
+manprefix = g
 
 
 # Where to install the cpio and mt executables.
@@ -117,17 +117,14 @@
 configure configure.in mkinstalldirs install-sh $(MT_SRCS) rmt.c tcexparg.c \
 alloca.c cpio.texi cpio.info texinfo.tex
 
-all:	@PROGS@
+all:	cpio
 
 .c.o:
 	$(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) $(CFLAGS) $<
 
 install:: installdirs all $(srcdir)/cpio.1 $(srcdir)/mt.1
 	$(INSTALL_PROGRAM) cpio $(bindir)/$(binprefix)cpio
-	test ! -f mt || $(INSTALL_PROGRAM) mt $(bindir)/$(binprefix)mt
-	-test ! -f rmt || $(INSTALL_PROGRAM) rmt $(libexecdir)/rmt
 	-$(INSTALL_DATA) $(srcdir)/cpio.1 $(mandir)/$(manprefix)cpio.$(manext)
-	-test ! -f mt || $(INSTALL_DATA) $(srcdir)/mt.1 $(mandir)/$(manprefix)mt.$(manext)
 
 installdirs:
 	$(srcdir)/mkinstalldirs $(bindir) $(libexecdir) $(mandir) $(infodir)