Added beforeinstall rule to install .h files. We might need some .mk
support for this kind of thing. Look at src/Makefile target "includes".
This commit is contained in:
parent
496357be5b
commit
345ee1c674
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2882
@ -82,4 +82,18 @@ test: md2.ref md4.ref md5.ref
|
||||
|
||||
beforedepend: md2hl.c md4hl.c md5hl.c
|
||||
|
||||
beforeinstall:
|
||||
-cd ${.CURDIR}; cmp -s md2.h ${DESTDIR}/usr/include/md2.h > \
|
||||
/dev/null 2>&1 || \
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 md2.h \
|
||||
${DESTDIR}/usr/include
|
||||
-cd ${.CURDIR}; cmp -s md4.h ${DESTDIR}/usr/include/md4.h > \
|
||||
/dev/null 2>&1 || \
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 md4.h \
|
||||
${DESTDIR}/usr/include
|
||||
-cd ${.CURDIR}; cmp -s md5.h ${DESTDIR}/usr/include/md5.h > \
|
||||
/dev/null 2>&1 || \
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 md5.h \
|
||||
${DESTDIR}/usr/include
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user