]> www.wagner.pp.ru Git - oss/fgis.git/blobdiff - tcl/Makefile.am
*** empty log message ***
[oss/fgis.git] / tcl / Makefile.am
index 5800a0c044c44a75c7e970748f01ed042bb38892..2c1a7302f18d489393d0260c5b6a002e5c93453f 100644 (file)
 
 ## 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
+
+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:
+       $(mkinstalldirs) $(FGIS_SCRIPTS)
+       -for i in $(SCRIPT_LIST) ; do \
+         if [ -f $$i ] ; then \
+           $(INSTALL_PROGRAM) -m 644 $$i $(FGIS_SCRIPTS)/$$i ; \
+         else true; fi ; \
+       done
+       $(mkinstalldirs) $(TCL_PACKAGE_PATH)/fgis
+       if [ -f pkgIndex.tcl  ] ; then \
+           $(INSTALL_PROGRAM) -m 644 pkgIndex.tcl $(TCL_PACKAGE_PATH)/fgis/pkgIndex.tcl ; \
+       else true; fi