X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=oss%2Ffgis.git;a=blobdiff_plain;f=tcl%2FMakefile.am;fp=tcl%2FMakefile.am;h=41a33d8c0430d4dfee421ceb5dd722d140825f2e;hp=5800a0c044c44a75c7e970748f01ed042bb38892;hb=349ccc7f5d161a4d10ac72cf16ea5073fe071b4e;hpb=c5a9bf19ca03b1c193bc8413b1332e2ed499e280 diff --git a/tcl/Makefile.am b/tcl/Makefile.am index 5800a0c..41a33d8 100644 --- a/tcl/Makefile.am +++ b/tcl/Makefile.am @@ -19,4 +19,30 @@ ## Process this file with automake to produce Makefile.in. +bin_SCRIPTS = hypermap mapview +SCRIPT_LIST = admin.layer balloonhelp.tcl calculator.tcl combobox.tcl console.tcl draw.tcl getopt.tcl help.tcl hierarchy.tcl html_library.tcl layer.tcl legend.tcl lesras.lay objects.tcl planchet.tcl progressbar.tcl tabnotebook.tcl tclIndex toolbar.tcl ventry.tcl viewer.tcl widget.tcl + +SCRIPTDIR=$(TCL_PACKAGE_PATH)/fgis + +install: all install-binaries install-libraries + +install-binaries: + $(mkinstalldirs) $(bindir) + -for i in $(bin_SCRIPTS) ; do \ + if [ -f $$i ] ; then \ + $(INSTALL_PROGRAM) $$i $(bindir)/$$i ; \ + else true; fi ; \ + done + +install-libraries: +# install standalone scripts + $(mkinstalldirs) $(SCRIPTDIR)/tcl + -for i in $(SCRIPT_LIST) ; do \ + if [ -f $$i ] ; then \ + $(INSTALL_PROGRAM) $$i $(SCRIPTDIR)/tcl/$$i ; \ + else true; fi ; \ + done + if [ -f pkgIndex.tcl ] ; then \ + $(INSTALL_PROGRAM) pkgIndex.tcl $(SCRIPTDIR)/pkgIndex.tcl ; \ + else true; fi