]> www.wagner.pp.ru Git - oss/fgis.git/blob - tcl/Makefile.am
*** empty log message ***
[oss/fgis.git] / tcl / Makefile.am
1 ## $ID: $
2 ##
3 ## Copyright (C) 2002, Andrey Kiselev <dron@remotesensing.org>
4 ##
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)
8 ## any later version.
9 ##
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.
14 ##
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,
18 ## USA.
19
20 ## Process this file with automake to produce Makefile.in.
21
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
24
25 install: all install-binaries install-libraries
26
27 install-binaries:
28         $(mkinstalldirs) $(bindir)
29         -for i in $(bin_SCRIPTS) ; do \
30           if [ -f $$i ] ; then \
31             $(INSTALL_PROGRAM) $$i $(bindir)/$$i ; \
32           else true; fi ; \
33         done
34
35 install-libraries:
36         $(mkinstalldirs) $(FGIS_SCRIPTS)
37         -for i in $(SCRIPT_LIST) ; do \
38           if [ -f $$i ] ; then \
39             $(INSTALL_PROGRAM) -m 644 $$i $(FGIS_SCRIPTS)/$$i ; \
40           else true; fi ; \
41         done
42         $(mkinstalldirs) $(TCL_PACKAGE_PATH)/fgis
43         if [ -f pkgIndex.tcl  ] ; then \
44             $(INSTALL_PROGRAM) -m 644 pkgIndex.tcl $(TCL_PACKAGE_PATH)/fgis/pkgIndex.tcl ; \
45         else true; fi
46