include ../makehead
TOP = ..
TCLFILES.dist = \
bindings.tcl \
help.tcl \
selbox.tcl \
snacced.tcl \
tkuti.tcl \
uti.tcl
TCLFILES = \
$(TCLFILES.dist) \
tclIndex
DISTFILES = \
$(TCLFILES.dist) \
make-snacced \
makefile
default: tclIndex
tclIndex: $(TCLFILES.dist) makefile
echo 'auto_mkindex . $(TCLFILES.dist)' | $(TCLSH)
install-sh:
ln $(TOP)/install-sh $@
install:: $(TCLFILES) install-sh $(tcldir)
$(tcldir):
$(TOP)/mkinstalldirs $@
install::
$(INSTALL_PROGRAM) make-snacced $(bindir)/
for tcl in $(TCLFILES); do\
$(INSTALL_DATA) $$tcl $(tcldir)/;\
done
clean::
$(RM) *~ *.dvi *.log *.aux *.toc *.lof *.lot *.bbl *.blg sp_errs .emacs*
clobber::
$(RM) tclIndex
$(RM) install-sh
gen-distfiles:: $(DISTFILES)
distfiles::
echo $(DISTFILES)
depend::
@true