$NetBSD: patch-aa,v 1.4 2003/03/16 00:17:24 wiz 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 = @program_prefix@ # Prefix for each installed man page, normally empty or `g'. -manprefix = +manprefix = @program_prefix@ # 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)