source: trunk/base/src/macports1.0/Makefile.in @ 129868

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

base: rename 'port doctor' to 'port diagnose'

As discussed on the mailing list:
https://lists.macosforge.org/pipermail/macports-dev/2014-August/027777.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1srcdir = @srcdir@
2VPATH  = @srcdir@
3
4include ../../Mk/macports.autoconf.mk
5
6SRCS=           macports.tcl macports_dlist.tcl macports_util.tcl \
7                macports_autoconf.tcl diagnose.tcl reclaim.tcl
8OBJS=           macports.o get_systemconfiguration_proxies.o sysctl.o
9SHLIB_NAME=     MacPorts${SHLIB_SUFFIX}
10
11INSTALLDIR=     ${DESTDIR}${TCL_PACKAGE_PATH}/macports1.0
12OLDINSTALLDIR= ${datadir}/macports/Tcl
13
14ifeq ($(OBJC_RUNTIME), APPLE_RUNTIME)
15        LIBS+= -framework CoreFoundation -framework SystemConfiguration
16endif
17
18pkgIndex.tcl: $(SRCS)
19
20test::
21        $(TCLSH) $(srcdir)/tests/test.tcl -nocolor
22
23distclean:: clean
24        rm -f macports_autoconf.tcl macports_test_autoconf.tcl ${SHLIB_NAME}
25        rm -f Makefile
26
27install:: all
28        @# Clean up old instances of the MacPorts Tcl packages
29        if test -z "${DESTDIR}"; then rm -rf "${OLDINSTALLDIR}"; fi
30
31        @# Remove the previously installed link if it still exists. Without this,
32        @# creating the directory will fail.
33        if test -L "${INSTALLDIR}"; then rm -rf "${INSTALLDIR}"; fi
34
35        $(INSTALL) -d -o "${DSTUSR}" -g "${DSTGRP}" -m "${DSTMODE}" "${INSTALLDIR}"
36
37        $(SILENT) set -x; for file in ${SRCS}; do \
38                $(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 "$$file" "${INSTALLDIR}/$$file"; \
39        done
40
41        $(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 pkgIndex.tcl "${INSTALLDIR}"
42
43
44include $(srcdir)/../../Mk/macports.tea.mk
Note: See TracBrowser for help on using the repository browser.