summaryrefslogtreecommitdiffstats
path: root/macosx/Makefile
diff options
context:
space:
mode:
authordas <das>2004-07-20 06:05:53 (GMT)
committerdas <das>2004-07-20 06:05:53 (GMT)
commit26ad50b54dbd1d891372303d7567eb5353254073 (patch)
treee546663cef0ad5dff1c2181819212ecd7d987baa /macosx/Makefile
parent23b110750cfc4d080d64119fc3b48df02527a094 (diff)
downloadtk-26ad50b54dbd1d891372303d7567eb5353254073.zip
tk-26ad50b54dbd1d891372303d7567eb5353254073.tar.gz
tk-26ad50b54dbd1d891372303d7567eb5353254073.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 d0a2f90..331de81 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.7.2.5 2004/01/27 10:10:16 das Exp $
+# RCS: @(#) $Id: Makefile,v 1.7.2.6 2004/07/20 06:05:59 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}