$NetBSD: patch-aa,v 1.3 2004/08/23 14:37:04 ben Exp $ --- Makefile.in.orig Fri Jun 13 14:05:13 2003 +++ Makefile.in @@ -30,11 +30,12 @@ prefix = @prefix@ exec_prefix = @exec_prefix@ BINDIR = @bindir@ MANDIR = @mandir@ +INSTBIN = ${BSD_INSTALL_PROGRAM} # how to install the man pages; # cp is generally fine, unless you preformat your pages. # -INSTMAN = cp +INSTMAN = ${BSD_INSTALL_MAN} MANSUFFIX = 1 # your compiler and compiler flags @@ -109,10 +110,10 @@ src/libhmmer.a: # installs man pages in MANDIR/man1/ (e.g. if MANSUFFIX is 1) # Creates these directories if they don't exist. install: - mkdir -p ${BINDIR} - -mkdir -p ${MANDIR}/man${MANSUFFIX} + ${MKDIR} ${BINDIR} + -${MKDIR} ${MANDIR}/man${MANSUFFIX} for file in $(PROGS) $(PVMPROGS); do\ - cp src/$$file $(BINDIR)/;\ + $(INSTBIN) src/$$file $(BINDIR)/;\ done -for file in hmmer $(PROGS); do\ $(INSTMAN) documentation/man/$$file.man $(MANDIR)/man$(MANSUFFIX)/$$file.$(MANSUFFIX);\ @@ -133,7 +134,7 @@ uninstall: # subdir, remove everything but binaries and Makefiles. # bindist: - mkdir binaries + ${MKDIR} binaries for prog in $(PROGS); do\ (cd binaries; ln -s ../src/$$prog .);\ done @@ -205,7 +206,7 @@ dist: # in testsuite. # cp ssdk/sqc ${BASENAME}-${RELEASE}/testsuite/ - mkdir ${BASENAME}-${RELEASE}/ssdk + ${MKDIR} ${BASENAME}-${RELEASE}/ssdk cp ssdk/rmanprocess.pl ${BASENAME}-${RELEASE}/ssdk/ # # Make the configure scripts from configure.ac @@ -293,7 +294,7 @@ dist: # directory. # ftpdist: - mkdir -p ${FTPDIR} + ${MKDIR} ${FTPDIR} cp -f hmmer-$(RELEASE)/00README ${FTPDIR} cp -f hmmer-$(RELEASE)/COPYRIGHT ${FTPDIR} cp -f hmmer-$(RELEASE)/INSTALL ${FTPDIR}