$NetBSD: patch-aa,v 1.1.1.1 2001/07/24 14:29:45 wiz Exp $ --- Makefile.in.orig Thu Jul 13 23:32:58 2000 +++ Makefile.in @@ -74,7 +74,12 @@ #======================================================================= #### Start of system configuration section. #### -prefix = /usr/local +srcdir = @srcdir@ +VPATH = @srcdir@ + +top_builddir = . + +prefix = @prefix@ exec_prefix = $(prefix) bindir = $(exec_prefix)/bin @@ -267,6 +272,14 @@ RM = /bin/rm -f +INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM) +INSTALL_MAN = $(BSD_INSTALL_MAN) +INSTALL_SCRIPT = $(BSD_INSTALL_SCRIPT) +INSTALL_DATA = $(BSD_INSTALL_DATA) +INSTALL_PROGRAM_DIR = $(BSD_INSTALL_PROGRAM_DIR) +INSTALL_MAN_DIR = $(BSD_INSTALL_MAN_DIR) +INSTALL_DATA_DIR = $(BSD_INSTALL_DATA_DIR) + SCRIBE-TESTS-1 = testscr1.org testscr2.org # Do NOT use SCRIBE-TESTS-1 in this list, because MIPS 6280 RISCos 5.0 @@ -606,28 +619,13 @@ touch install.time install-exe: bibclean - if test -f $(bindir)/bibclean ; \ - then \ - $(MV) $(bindir)/bibclean $(bindir)/bibclean.old ; \ - fi - -$(RM) $(bindir)/bibclean-$(VERSION) - $(CP) bibclean $(bindir)/bibclean - -$(STRIP) $(bindir)/bibclean - $(LN) $(bindir)/bibclean $(bindir)/bibclean-$(VERSION) - $(CHMOD) 775 $(bindir)/bibclean - $(CP) bibclean.ini $(bindir)/.bibcleanrc - $(CHMOD) 664 $(bindir)/.bibcleanrc + -$(INSTALL_PROGRAM_DIR) $(bindir) + $(INSTALL_PROGRAM) bibclean $(bindir)/bibclean + $(INSTALL_DATA) $(srcdir)/bibclean.ini $(bindir)/.bibcleanrc install-man: bibclean.man - if test -f $(mandir)/bibclean.$(manext) ; \ - then \ - $(MV) $(mandir)/bibclean.$(manext) $(mandir)/bibclean.old.$(manext) ; \ - fi - $(CP) bibclean.man $(mandir)/bibclean.$(manext) - -$(RM) $(mandir)/../cat$(manext)/bibclean.$(manext) - -$(RM) $(mandir)/bibclean-$(VERSION).$(manext) - $(LN) $(mandir)/bibclean.$(manext) $(mandir)/bibclean-$(VERSION).$(manext) - $(CHMOD) 664 $(mandir)/bibclean.$(manext) + -$(INSTALL_MAN_DIR) $(mandir) + $(INSTALL_MAN) $(srcdir)/bibclean.man $(mandir)/bibclean.$(manext) install-ftp: install-ftp.time