Tweak the install targets so that the installs are done in the right place

relative to the SUBDIR recursion.. Otherwise, the results look really odd.
(basically changed a couple of afterinstall's to beforeinstall's)
This commit is contained in:
peter 1995-12-11 01:58:53 +00:00
parent 75c22baea9
commit 412c7f457d
4 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1995/12/11 00:45:41 peter Exp $
# $Id: Makefile,v 1.3 1995/12/11 01:23:42 peter Exp $
SUBDIR= pcl-cvs
@ -26,7 +26,7 @@ all: ${SCRIPTS}
sed -e 's,xPERL_PATHx,$(PERLPATH),' $< > $@
afterinstall:
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${SCRIPTS} ${DESTDIR}${EXAMPDIR}/contrib
cd ${.CURDIR} ; \

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.5 1995/12/11 01:23:44 peter Exp $
# $Id: Makefile,v 1.6 1995/12/11 01:27:18 peter Exp $
FILES= ChangeLog INSTALL NEWS README \
compile-all.el pcl-cvs-lucid.el pcl-cvs-startup.el \
@ -8,7 +8,7 @@ NOOBJ= noobj
EXAMPDIR= /usr/share/examples/cvs
afterinstall:
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
${FILES} ${DESTDIR}${EXAMPDIR}/pcl-cvs

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1995/07/25 00:31:51 bde Exp $
# $Id: Makefile,v 1.1 1995/12/10 23:05:53 peter Exp $
MAN8= cvsbug.8
@ -16,7 +16,7 @@ all: cvsbug
sed -e "s,xVERSIONx,`cat ver`,g" ${.CURDIR}/$@.sh > $@
afterinstall:
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
cvsbug ${DESTDIR}${BINDIR}/cvsbug

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1995/07/25 00:31:51 bde Exp $
# $Id: Makefile,v 1.3 1995/12/10 23:06:37 peter Exp $
MAN8= cvsinit.8
@ -18,7 +18,7 @@ all: cvsinit
sed -e 's,xLIBDIRx,$(EXAMPDIR),g' \
-e "s,xVERSIONx,`cat ver`,g" ${.CURDIR}/$@.sh > $@
afterinstall:
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
cvsinit ${DESTDIR}${BINDIR}/cvsinit