diff options
| author | cgd <cgd@NetBSD.org> | 1993-04-09 09:39:59 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1993-04-09 09:39:59 +0000 |
| commit | 80b652e0f4fe25a3772f8fa0ff17446f0e82a191 (patch) | |
| tree | 87c6bf56e489297114621097e8391544213c7fc0 /gnu/lib/libg++/g++-include | |
| parent | 630d08dbe3cd577fefbec1b63e468911f3786829 (diff) | |
make sure directory to install stuff exists before installing
Diffstat (limited to 'gnu/lib/libg++/g++-include')
| -rw-r--r-- | gnu/lib/libg++/g++-include/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/lib/libg++/g++-include/Makefile b/gnu/lib/libg++/g++-include/Makefile index 115f619ec1b..cf914535d3a 100644 --- a/gnu/lib/libg++/g++-include/Makefile +++ b/gnu/lib/libg++/g++-include/Makefile @@ -26,6 +26,14 @@ NOOBJ= noobj INCDIR= /usr/include/g++ install: + @if [ ! -d ${DESTDIR}${INCDIR} ]; then \ + /bin/rm -f ${DESTDIR}${INCDIR} ; \ + mkdir -p ${DESTDIR}${INCDIR} ; \ + chown root.wheel ${DESTDIR}${INCDIR} ; \ + chmod 755 ${DESTDIR}${INCDIR} ; \ + else \ + true ; \ + fi @echo installing ${FILES} @-for i in ${FILES}; do \ cmp -s $$i ${DESTDIR}${INCDIR}/$$i || \ |
