source: trunk/base/doc/Makefile @ 1222

Last change on this file since 1222 was 1222, checked in by landonf (Landon Fuller), 18 years ago

Add empty all: target while we wait to see what's wrong with gzipping man pages

  • Property svn:eol-style set to native
File size: 769 bytes
RevLine 
[790]1PREFIX?=        /opt/local
[670]2ETCDIR=         /etc/ports
[1034]3MAN7=           portfile.7 portstyle.7
[971]4DSTUSR?=        root
5DSTGRP?=        wheel
[282]6
[1222]7all:
8
[282]9install:
[435]10        mkdir -p /etc/defaults
[670]11        mkdir -p ${ETCDIR}
[1205]12        mtree -U -f prefix.mtree -d -e -p ${PREFIX} > /dev/null
[670]13        @if [ ! -e ${ETCDIR}/ports.conf ]; then \
[588]14                set -x; \
[971]15                install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf ${ETCDIR}; \
[588]16        fi
[685]17
18        @if [ ! -e ${ETCDIR}/sources.conf ]; then \
19                set -x; \
[971]20                install -o ${DSTUSR} -g ${DSTGRP} -m 644 sources.conf ${ETCDIR}; \
[685]21        fi
[1205]22        install -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${ETCDIR}
[971]23        install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf.default /etc/defaults/ports.conf
[1209]24        install -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7 ${PREFIX}/man/man7
25        install -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7 ${PREFIX}/man/man7
Note: See TracBrowser for help on using the repository browser.