1# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
2# $FreeBSD: head/etc/Makefile 289662 2015-10-20 20:35:34Z jmmv $
3
4.include <src.opts.mk>
5
6SUBDIR= \
7 newsyslog.conf.d
8
9.if ${MK_SENDMAIL} != "no"
10SUBDIR+=sendmail
--- 378 unchanged lines hidden (view full) ---
389 "sed s#^\.#.$$d# | ${METALOG.add}" ; \
390 ${MTREE_FILTER} $$m | \
391 ${MTREE_CMD:N-W} -C -K uname,gname | sed s#^\.#.$$d# | \
392 ${METALOG.add} ; \
393 done; true
394.endif
395 ${INSTALL_SYMLINK} usr/src/sys ${DESTDIR}/sys
396.if ${MK_MAN} != "no"
397 cd ${DESTDIR}/usr/share/man; \
398 for mandir in man*; do \
399 ${INSTALL_SYMLINK} ../$$mandir \
400 ${DESTDIR}/usr/share/man/en.ISO8859-1/; \
401 ${INSTALL_SYMLINK} ../$$mandir \
402 ${DESTDIR}/usr/share/man/en.UTF-8/; \
403 done
404.if ${MK_OPENSSL} != "no"
405 cd ${DESTDIR}/usr/share/openssl/man; \
406 for mandir in man*; do \
407 ${INSTALL_SYMLINK} ../$$mandir \
408 ${DESTDIR}/usr/share/openssl/man/en.ISO8859-1/; \
409 done
410.endif
411 set - `grep "^[a-zA-Z]" ${.CURDIR}/man.alias`; \
412 while [ $$# -gt 0 ] ; do \
413 ${INSTALL_SYMLINK} "$$2" "${DESTDIR}/usr/share/man/$$1"; \
414 if [ "${MK_OPENSSL}" != "no" ]; then \
415 ${INSTALL_SYMLINK} "$$2" \
416 "${DESTDIR}/usr/share/openssl/man/$$1"; \
417 fi; \
418 shift; shift; \
419 done
420.endif
421.if ${MK_NLS} != "no"
422 set - `grep "^[a-zA-Z]" ${.CURDIR}/nls.alias`; \
423 while [ $$# -gt 0 ] ; do \
424 ${INSTALL_SYMLINK} "$$2" "${DESTDIR}/usr/share/nls/$$1"; \
425 shift; shift; \
426 done
427.endif
428
429etc-examples:
430 cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
431 ${BIN1} ${BIN2} nsmb.conf opieaccess \
432 ${DESTDIR}/usr/share/examples/etc
433 ${_+_}cd ${.CURDIR}/defaults; ${MAKE} install \
434 DESTDIR=${DESTDIR}/usr/share/examples
435
436.include <bsd.prog.mk>
2# $FreeBSD: head/etc/Makefile 289662 2015-10-20 20:35:34Z jmmv $
3
4.include <src.opts.mk>
5
6SUBDIR= \
7 newsyslog.conf.d
8
9.if ${MK_SENDMAIL} != "no"
10SUBDIR+=sendmail
--- 378 unchanged lines hidden (view full) ---
389 "sed s#^\.#.$$d# | ${METALOG.add}" ; \
390 ${MTREE_FILTER} $$m | \
391 ${MTREE_CMD:N-W} -C -K uname,gname | sed s#^\.#.$$d# | \
392 ${METALOG.add} ; \
393 done; true
394.endif
395 ${INSTALL_SYMLINK} usr/src/sys ${DESTDIR}/sys
396.if ${MK_MAN} != "no"
397 cd ${DESTDIR}/usr/share/man; \
398 for mandir in man*; do \
399 ${INSTALL_SYMLINK} ../$$mandir \
400 ${DESTDIR}/usr/share/man/en.ISO8859-1/; \
401 ${INSTALL_SYMLINK} ../$$mandir \
402 ${DESTDIR}/usr/share/man/en.UTF-8/; \
403 done
404.if ${MK_OPENSSL} != "no"
405 cd ${DESTDIR}/usr/share/openssl/man; \
406 for mandir in man*; do \
407 ${INSTALL_SYMLINK} ../$$mandir \
408 ${DESTDIR}/usr/share/openssl/man/en.ISO8859-1/; \
409 done
410.endif
411 set - `grep "^[a-zA-Z]" ${.CURDIR}/man.alias`; \
412 while [ $$# -gt 0 ] ; do \
413 ${INSTALL_SYMLINK} "$$2" "${DESTDIR}/usr/share/man/$$1"; \
414 if [ "${MK_OPENSSL}" != "no" ]; then \
415 ${INSTALL_SYMLINK} "$$2" \
416 "${DESTDIR}/usr/share/openssl/man/$$1"; \
417 fi; \
418 shift; shift; \
419 done
420.endif
421.if ${MK_NLS} != "no"
422 set - `grep "^[a-zA-Z]" ${.CURDIR}/nls.alias`; \
423 while [ $$# -gt 0 ] ; do \
424 ${INSTALL_SYMLINK} "$$2" "${DESTDIR}/usr/share/nls/$$1"; \
425 shift; shift; \
426 done
427.endif
428
429etc-examples:
430 cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
431 ${BIN1} ${BIN2} nsmb.conf opieaccess \
432 ${DESTDIR}/usr/share/examples/etc
433 ${_+_}cd ${.CURDIR}/defaults; ${MAKE} install \
434 DESTDIR=${DESTDIR}/usr/share/examples
435
436.include <bsd.prog.mk>