Ignore:
Timestamp:
Jun 16, 2003, 9:50:39 PM (17 years ago)
Author:
ssen
Message:

1) Don't include dports.mk. We don't need it anymore
2) Use $(INSTALL) -d instead of mkdir -p
3) Use $(SILENT) instead of "@" to make quiet execution. You can

override SILENT= on the make command line

4) Don't do sed on prefix.mtree before applying via mtree

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/resources/sitelists/Makefile

    r2776 r2809  
    1 INSTALLDIR=     ${DESTDIR}${PREFIX}/share/darwinports/resources/port1.0/sitelists
     1INSTALLDIR=     ${DESTDIR}${prefix}/share/darwinports/resources/port1.0/sitelists
    22
    33RSRCS=          master_sites.tcl
    44
    5 include ../../../../Mk/dports.mk
    65include ../../../../Mk/dports.autoconf.mk
    76
     
    1312
    1413install:
    15         mkdir -p ${INSTALLDIR}
    16         @set -x; for file in ${RSRCS}; do \
     14        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}
     15        $(SILENT)set -x; for file in ${RSRCS}; do \
    1716                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
    1817        done
Note: See TracChangeset for help on using the changeset viewer.