source: trunk/base/src/port1.0/Makefile.in @ 141366

Last change on this file since 141366 was 141366, checked in by raimue@…, 4 years ago

Unify test.tcl files into a single script at src/tests/test.tcl

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1srcdir = @srcdir@
2VPATH  = @srcdir@
3
4include ../../Mk/macports.autoconf.mk
5
6INSTALLDIR=     ${DESTDIR}${TCL_PACKAGE_PATH}/port1.0
7
8SRCS_AUTOCONF= port_autoconf.tcl
9SRCS=   port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl         \
10        portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl \
11        portinstall.tcl portuninstall.tcl portdepends.tcl portdestroot.tcl \
12        portlint.tcl portclean.tcl porttest.tcl portactivate.tcl \
13        portdeactivate.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl \
14        portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl portreload.tcl \
15        portdistfiles.tcl fetch_common.tcl portsandbox.tcl
16
17include $(srcdir)/../../Mk/macports.subdir.mk
18
19.PHONY: test
20
21all:: pkgIndex.tcl
22
23pkgIndex.tcl: $(SRCS) $(SRCS_AUTOCONF)
24        $(SILENT) ../pkg_mkindex.sh . || ( rm -rf $@ && exit 1 )
25
26clean::
27        rm -f pkgIndex.tcl
28
29distclean:: clean
30        rm -f port_autoconf.tcl port_test_autoconf.tcl
31        rm -f Makefile
32
33install:: all
34        $(INSTALL) -d -o "${DSTUSR}" -g "${DSTGRP}" -m "${DSTMODE}" "${INSTALLDIR}"
35        $(SILENT)set -x; for file in ${SRCS}; do \
36                $(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 "$(srcdir)/$$file" "${INSTALLDIR}"; \
37        done
38        $(SILENT)set -x; for file in ${SRCS_AUTOCONF}; do \
39                $(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 "$$file" "${INSTALLDIR}"; \
40        done
41        $(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 pkgIndex.tcl "${INSTALLDIR}"
42
43test::
44        $(TCLSH) $(srcdir)/../tests/test.tcl -nocolor
Note: See TracBrowser for help on using the repository browser.