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
RevLine 
[117621]1srcdir = @srcdir@
2VPATH  = @srcdir@
3
[118562]4include ../../Mk/macports.autoconf.mk
5
[26059]6SRCS=           macports.tcl macports_dlist.tcl macports_util.tcl \
[129868]7                macports_autoconf.tcl diagnose.tcl reclaim.tcl
[64998]8OBJS=           macports.o get_systemconfiguration_proxies.o sysctl.o
[24454]9SHLIB_NAME=     MacPorts${SHLIB_SUFFIX}
[336]10
[118562]11INSTALLDIR=     ${DESTDIR}${TCL_PACKAGE_PATH}/macports1.0
[118568]12OLDINSTALLDIR= ${datadir}/macports/Tcl
[2823]13
[53743]14ifeq ($(OBJC_RUNTIME), APPLE_RUNTIME)
15        LIBS+= -framework CoreFoundation -framework SystemConfiguration
16endif
17
[66844]18pkgIndex.tcl: $(SRCS)
19
[7620]20test::
[117621]21        $(TCLSH) $(srcdir)/tests/test.tcl -nocolor
[7620]22
[3547]23distclean:: clean
[118559]24        rm -f macports_autoconf.tcl macports_test_autoconf.tcl ${SHLIB_NAME}
[118264]25        rm -f Makefile
[2770]26
[51386]27install:: all
[118562]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
[122044]35        $(INSTALL) -d -o "${DSTUSR}" -g "${DSTGRP}" -m "${DSTMODE}" "${INSTALLDIR}"
[2827]36
37        $(SILENT) set -x; for file in ${SRCS}; do \
[122044]38                $(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 "$$file" "${INSTALLDIR}/$$file"; \
[336]39        done
[2827]40
[122044]41        $(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 pkgIndex.tcl "${INSTALLDIR}"
[67293]42
[118562]43
44include $(srcdir)/../../Mk/macports.tea.mk
Note: See TracBrowser for help on using the repository browser.