# Generated automatically from Makefile.in by configure. ############################################################################# # TkRat software and its included text is Copyright 1996-2002 by # Martin Forssén. # # # # The full text of the legal notice is contained in the file called # # COPYRIGHT, included with this distribution. # ############################################################################# SHELL = /bin/sh # Installation directories prefix = /usr/local exec_prefix = ${prefix} MAN_DIR = ${prefix}/man BIN_DIR = ${exec_prefix}/bin DATA_DIR = ${prefix}/share/`echo tkrat${VERSION} | sed '${TRANSFORM}'` LIB_DIR = ${exec_prefix}/lib/`echo tkrat${VERSION} | sed '${TRANSFORM}'` sysconfdir = ${prefix}/etc INSTALL = /usr/bin/install -c -o root -g wheel VERSION = 2.1 TCLSH = /usr/local/bin/tclsh8.4 WISH = /usr/local/bin/wish8.4 COMPRESS = /usr/local/bin/gzip CSUFFIX = .gz SSH = /usr/bin/ssh TRANSFORM = s,x,x, RATLIBDIR = ${libdir}/`echo ratatosk | sed '${TRANSFORM}'` INSTALL_PREFIX = # Used for development environment only ETAGS = /usr/local/bin/etags #-------- No changes should be done below -------- TCLTMP = tcl.tmp INDEXCMD = echo "auto_mkindex . ${INDEXSRC}" | ${TCLSH} INDEX = tclIndex INDEXSRC = alias.tcl client.tcl compose.tcl convert.tcl dbase.tcl \ dialog.tcl dsn.tcl exp.tcl folder.tcl font.tcl help.tcl \ info.tcl keydef.tcl languages.tcl options.tcl pgp.tcl \ preferences.tcl print.tcl show.tcl source.tcl start.tcl \ vfolder.tcl vfolderdef.tcl watcher.tcl winctl.tcl html.tcl \ mime.tcl text_changes_sv.tcl text_changes_en.tcl text_changes_de.tcl text_changes_it.tcl text_changes_fr.tcl text_changes_sr.tcl text_changes_pl.tcl text_changes_pt.tcl text_balText_sv.tcl text_balText_en.tcl text_balText_de.tcl text_balText_it.tcl text_balText_fr.tcl text_balText_sr.tcl text_balText_pl.tcl text_balText_pt.tcl text_t_sv.tcl text_t_en.tcl text_t_de.tcl text_t_it.tcl text_t_fr.tcl text_t_sr.tcl text_t_pl.tcl text_t_pt.tcl text_help_sv.tcl text_help_en.tcl text_help_de.tcl text_help_it.tcl text_help_fr.tcl text_help_sr.tcl text_help_pl.tcl text_help_pt.tcl LANGUAGES = languages.tcl LANGSRC = Text/balloon.text Text/changes.text Text/help.text \ Text/messages.text all: ${LANGUAGES} ${INDEX} tkrat.install install.bin: tkrat.install if test ! -d ${INSTALL_PREFIX}${BIN_DIR} ; then \ ${INSTALL} -m 0755 -d ${INSTALL_PREFIX}${BIN_DIR} ;\ fi ${INSTALL} -m 0755 tkrat.install ${INSTALL_PREFIX}${BIN_DIR}/tkrat install.shared: ${INDEX} ${INDEXSRC} if test ! -d ${INSTALL_PREFIX}${DATA_DIR} ; then \ ${INSTALL} -m 0755 -d ${INSTALL_PREFIX}${DATA_DIR} ;\ fi ${INSTALL} ${INDEX} ${INSTALL_PREFIX}${DATA_DIR}/${INDEX} for i in `ls ${INDEXSRC}` ; \ do \ ${INSTALL} -m 0644 $$i ${INSTALL_PREFIX}${DATA_DIR} ;\ done cd ${INSTALL_PREFIX}${DATA_DIR}; \ echo "if [catch {pkg_mkIndex -verbose . *.tcl} \ error] \ {puts \$$error; exit 1}" | ${TCLSH} install: install.shared install.data ${LANGUAGES}: ${LANGSRC} (cd Text; ${TCLSH} dotext.tcl -nowarn) ${INDEX}: ${INDEXSRC} ${LANGUAGES} ${INDEXCMD} tkrat.install: Makefile rm -f $@ echo "#!${WISH}" >$@ echo "# This file automatically generated `date`" >>$@ echo "set env(LIBDIR) ${DATA_DIR}" >>$@ echo "set env(CONFIG_DIR) ${sysconfdir}/ratatosk" >>$@ echo "set env(COMPRESS) ${COMPRESS}" >>$@ echo "set env(CSUFFIX) ${CSUFFIX}" >>$@ echo "set env(SSH) \"${SSH}\"" >>$@ echo "foreach dir {${DATA_DIR}/util ${LIB_DIR}} {" >>$@ echo ' source $$dir/pkgIndex.tcl' >>$@ echo "}" >>$@ echo "set auto_path [concat ${DATA_DIR} \$$auto_path]" >>$@ echo "TkRatClientStart" >>$@ backup: tar zcf ~/backup/tkrat.`date +%Y%m%d`.tar.gz \ `ls ${INDEXSRC}` Makefile Text clean: rm -f core tkrat.install tcl.tmp text_*.tcl ${LANGUAGES} ${INDEX} tags-internal: ${ETAGS} --append --output=../TAGS --lang=none \ --regex='/proc[ \t]+\([^ \t]+\)/\1/' ${INDEXSRC}