#----------------------------------------------------------------------
# Makefile for Tix 3.6c
#
#***************************WARNING************************************
#
# This Makefile is not particularly intelligent. So you better copy
# the files by hand.
#
# Use this makefile to install Tix on your system. Edit the following
# variables to suit your needs. By default, it will install the Tix
# library into the directory /usr/local/library/tix.
#
#----------------------------------------------------------------------

# Where do you want to install the 
TIX_LIBRARY_DIR = /usr/local/lib/tix
# TIX_LIBRARY_DIR = /home3/ioi/lib/tix

# Where do you want to install the manual pages
TIX_MAN_DIR     = /usr/local/man/mann
#TIX_MAN_DIR     = /home3/ioi/man/mann

#----------------------------------------------------------------------
#          Don't Change anything below this line.
#----------------------------------------------------------------------
install.lib::
	if [ -x $(TIX_LIBRARY_DIR) ] ; then \
	 echo Using existing $(TIX_LIBRARY_DIR); \
	else \
	 mkdir $(TIX_LIBRARY_DIR) ; \
	fi
	cp -r library/* $(TIX_LIBRARY_DIR)

install.man::
	if [ -x $(TIX_MAN_DIR) ] ; then \
	 echo Using existing $(TIX_MAN_DIR); \
	else \
	 mkdir $(TIX_MAN_DIR) ; \
	fi
	cp -r man/* $(TIX_MAN_DIR)

install: install.man install.lib


