Changeset 2101


Ignore:
Timestamp:
Mar 1, 2003, 1:57:50 AM (17 years ago)
Author:
kevin
Message:

Be smarter about generating and cleaning prefix.mtree

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/Makefile

    r2075 r2101  
    22INSTALLDIR=     ${DESTDIR}${PREFIX}
    33
    4 all:
     4prefix.mtree:
     5        cat prefix.mtree.pre | sed -e "s/uname=UNAME/uname=${DSTUSR}/" | \
     6        sed -e "s/gname=GNAME/gname=${DSTGRP}/" > prefix.mtree
     7
     8all: prefix.mtree
    59
    610clean:
     11        rm -f prefix.mtree
    712
    813install:
     
    1015        mkdir -p ${INSTALLDIR}
    1116       
    12         cat prefix.mtree.pre | sed -e "s/uname=UNAME/uname=${DSTUSR}/" | \
    13         sed -e "s/gname=GNAME/gname=${DSTGRP}/" > prefix.mtree
    1417        cat prefix.mtree | mtree -U -d -e -p ${INSTALLDIR} > /dev/null
    1518        @if [ ! -e ${DESTDIR}/${ETCDIR}/ports.conf ]; then \
Note: See TracChangeset for help on using the changeset viewer.