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
Line 
1PREFIX?=        /opt/local
2ETCDIR=         /etc/ports
3MAN7=           portfile.7 portstyle.7
4DSTUSR?=        root
5DSTGRP?=        wheel
6
7all:
8
9install:
10        mkdir -p /etc/defaults
11        mkdir -p ${ETCDIR}
12        mtree -U -f prefix.mtree -d -e -p ${PREFIX} > /dev/null
13        @if [ ! -e ${ETCDIR}/ports.conf ]; then \
14                set -x; \
15                install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf ${ETCDIR}; \
16        fi
17
18        @if [ ! -e ${ETCDIR}/sources.conf ]; then \
19                set -x; \
20                install -o ${DSTUSR} -g ${DSTGRP} -m 644 sources.conf ${ETCDIR}; \
21        fi
22        install -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${ETCDIR}
23        install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf.default /etc/defaults/ports.conf
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.