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 EXTRA_DIST = $(bin_SCRIPTS) $(SCRIPT_LIST)
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 $(mkinstalldirs) $(FGIS_SCRIPTDIR)
39 -for i in $(SCRIPT_LIST) ; do \
40 if [ -f $$i ] ; then \
41 $(INSTALL_PROGRAM) -m 644 $$i $(FGIS_SCRIPTDIR)/$$i ; \
44 $(mkinstalldirs) $(TCL_PACKAGE_PATH)/fgis
45 if [ -f pkgIndex.tcl ] ; then \
46 $(INSTALL_PROGRAM) -m 644 pkgIndex.tcl $(TCL_PACKAGE_PATH)/fgis/pkgIndex.tcl ; \
50 -for i in $(bin_SCRIPTS) ; do \
51 rm -f $(bindir)/$$i ; \
53 -for i in $(SCRIPT_LIST) ; do \
54 rm -f $(FGIS_SCRIPTDIR)/$$i ; \
56 -rm -f $(TCL_PACKAGE_PATH)/fgis/pkgIndex.tcl