mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
41ae2b9560
relative to the SUBDIR recursion.. Otherwise, the results look really odd. (basically changed a couple of afterinstall's to beforeinstall's)
38 lines
808 B
Makefile
38 lines
808 B
Makefile
# $Id: Makefile,v 1.3 1995/12/11 01:23:42 peter Exp $
|
|
|
|
SUBDIR= pcl-cvs
|
|
|
|
SCRIPTS= ccvs-rsh rcs2log clmerge cln_hist commit_prep cvs_acls cvscheck \
|
|
log log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs \
|
|
easy-import
|
|
|
|
FILES= README cvscheck.man cvshelp.man descend.man intro.doc
|
|
|
|
EXAMPDIR= /usr/share/examples/cvs
|
|
PERLPATH= /usr/bin/perl
|
|
CLEANFILES+= $(SCRIPTS)
|
|
|
|
.SUFFIXES: .sh .csh .pl
|
|
|
|
all: ${SCRIPTS}
|
|
|
|
.sh:
|
|
cp $< $@
|
|
|
|
.csh:
|
|
sed -e 's,xCSH_PATHx,/bin/csh,' $< > $@
|
|
|
|
.pl:
|
|
sed -e 's,xPERL_PATHx,$(PERLPATH),' $< > $@
|
|
|
|
|
|
beforeinstall:
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${SCRIPTS} ${DESTDIR}${EXAMPDIR}/contrib
|
|
cd ${.CURDIR} ; \
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
|
|
${FILES} ${DESTDIR}${EXAMPDIR}/contrib
|
|
|
|
.include "../../Makefile.inc"
|
|
.include <bsd.prog.mk>
|