mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-21 08:24:10 +01:00
Remove dir creating, done by mtree
Add missing file name for cmp
This commit is contained in:
parent
c44aef5655
commit
108497c8b6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6467
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.17 1994/12/06 03:15:02 ache Exp $
|
# $Id: Makefile,v 1.18 1995/01/16 17:56:20 ache Exp $
|
||||||
|
|
||||||
|
|
||||||
CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER -DHAVE_CONFIG_H
|
CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER -DHAVE_CONFIG_H
|
||||||
@ -15,14 +15,9 @@ LDADD+= -ltermcap
|
|||||||
SUBDIR+= doc
|
SUBDIR+= doc
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
@-if [ ! -d ${DESTDIR}/usr/include/readline ]; then \
|
|
||||||
mkdir ${DESTDIR}/usr/include/readline; \
|
|
||||||
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/readline; \
|
|
||||||
chmod 755 ${DESTDIR}/usr/include/readline; \
|
|
||||||
fi
|
|
||||||
cd ${.CURDIR}; \
|
cd ${.CURDIR}; \
|
||||||
for m in ${HEADERS} ; do \
|
for m in ${HEADERS} ; do \
|
||||||
cmp -s $$m ${DESTDIR}/usr/include/readline || \
|
cmp -s $$m ${DESTDIR}/usr/include/readline/$$m || \
|
||||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||||
$$m ${DESTDIR}/usr/include/readline ; \
|
$$m ${DESTDIR}/usr/include/readline ; \
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user