3 ## Copyright (C) 2002, Andrey Kiselev <dron@remotesensing.org>
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2, or (at your option)
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
20 ## Process this file with automake to produce Makefile.in.
22 bin_SCRIPTS = hypermap mapview
23 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
25 SCRIPTDIR=$(TCL_PACKAGE_PATH)/fgis
27 install: all install-binaries install-libraries
30 $(mkinstalldirs) $(bindir)
31 -for i in $(bin_SCRIPTS) ; do \
32 if [ -f $$i ] ; then \
33 $(INSTALL_PROGRAM) $$i $(bindir)/$$i ; \
38 # install standalone scripts
39 $(mkinstalldirs) $(SCRIPTDIR)/tcl
40 -for i in $(SCRIPT_LIST) ; do \
41 if [ -f $$i ] ; then \
42 $(INSTALL_PROGRAM) $$i $(SCRIPTDIR)/tcl/$$i ; \
45 if [ -f pkgIndex.tcl ] ; then \
46 $(INSTALL_PROGRAM) pkgIndex.tcl $(SCRIPTDIR)/pkgIndex.tcl ; \