summaryrefslogtreecommitdiffstats
path: root/macosx/Makefile
diff options
context:
space:
mode:
authordas <das>2004-07-20 11:49:16 (GMT)
committerdas <das>2004-07-20 11:49:16 (GMT)
commitf95859f4fe3830b7122af3474bdd5c3d17b13f62 (patch)
treeb3251643bb8f79c12e605c8517d088157b8a7b2e /macosx/Makefile
parent538c31ec35ab2acea8b0b6488a650bc96f2d2887 (diff)
downloadtk-f95859f4fe3830b7122af3474bdd5c3d17b13f62.zip
tk-f95859f4fe3830b7122af3474bdd5c3d17b13f62.tar.gz
tk-f95859f4fe3830b7122af3474bdd5c3d17b13f62.tar.bz2
* macosx/Makefile: added support to tk framework build to
optionally install tk manpages in addition to html help, similarly to tcl/macosx/Makefile. * macosx/Wish.pbproj/project.pbxproj: fixes for building with non-default SYMROOT/OBJROOT/SRCROOT, added support for using a Tcl.framework in DYLIB_INSTALL_PATH != /Library/Frameworks, added optional support for building html help without tcl sources present by giving explicit location of tcltk-man2html script. * macosx/tkMacOSXMenu.c: fixed #include case sensitivity bug.
Diffstat (limited to 'macosx/Makefile')
-rw-r--r--macosx/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/macosx/Makefile b/macosx/Makefile
index 9cd14b0..c2fc70a 100644
--- a/macosx/Makefile
+++ b/macosx/Makefile
@@ -3,7 +3,7 @@
# Makefile to build AquaTk on Mac OS X packaged as a Framework
# uses Project Builder command line tool 'pbxbuild'
#
-# RCS: @(#) $Id: Makefile,v 1.13 2004/02/23 22:49:26 das Exp $
+# RCS: @(#) $Id: Makefile,v 1.14 2004/07/20 11:49:16 das Exp $
#
################################################################################
@@ -24,10 +24,14 @@ APPLICATION_INSTALL_PATH ?= /Applications/Utilities
PREFIX ?= /usr
BINDIR ?= ${PREFIX}/bin
+MANDIR ?= ${PREFIX}/man
TCL_FRAMEWORK_DIR ?= ${BUILD_DIR}/tcl
TCLSH_DIR ?= ${TCL_FRAMEWORK_DIR}
+# set to non-empty value to install manpages in addition to html help:
+INSTALL_MANPAGES ?=
+
#-------------------------------------------------------------------------------
PROJECT = tk
@@ -83,6 +87,12 @@ install-develop:
install-deploy:
${DEPBUILD} install ${INSTALLOPTS}
+ifneq (${INSTALL_MANPAGES},)
+# install manpages
+ ${MAKE} -C "$(CURDIR)/../unix" -f Makefile.in install-doc \
+ SRC_DIR="$(CURDIR)/.." UNIX_DIR="$(CURDIR)/../unix" \
+ mandir="$(MANDIR)" ${INSTALLOPTS} ${EXTRA_MAKE_ARGS}
+endif
embedded-develop:
${DEVBUILD} ${EMBEDDEDOPTS}