Ignore:
Timestamp:
May 23, 2009, 8:20:58 PM (11 years ago)
Author:
raimue@…
Message:

base:
Generate pkgIndex.tcl in the source tree, not at install time. This will detect
errors earlier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Mk/macports.tea.mk

    r51377 r51382  
    99        ${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${CFLAGS} ${SHLIB_CFLAGS} $< -o $@
    1010
     11all:: ${SHLIB_NAME} pkgIndex.tcl
     12
    1113$(SHLIB_NAME):: ${OBJS}
    1214        ${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${TCL_STUB_LIB_SPEC} ${SHLIB_LDFLAGS} ${LIBS}
    1315
    14 all:: ${SHLIB_NAME}
     16pkgIndex.tcl:
     17        $(SILENT) ../pkg_mkindex.sh .
    1518
    1619clean::
    17         rm -f ${OBJS} ${SHLIB_NAME} so_locations
     20        rm -f ${OBJS} ${SHLIB_NAME} so_locations pkgIndex.tcl
    1821
    1922distclean:: clean
     
    2225        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
    2326        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
    24         $(SILENT) ../pkg_mkindex.sh ${INSTALLDIR}
     27        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 pkgIndex.tcl ${INSTALLDIR}
Note: See TracChangeset for help on using the changeset viewer.