]> www.wagner.pp.ru Git - oss/fgis.git/blobdiff - tcl/Makefile.in
*** empty log message ***
[oss/fgis.git] / tcl / Makefile.in
index f600dc52da10b15e0c482b3fe9537f98eb032bd0..4a9472ba171496330290eb75b4eca75e50f5c51f 100644 (file)
@@ -72,7 +72,11 @@ CC = @CC@
 DEPDIR = @DEPDIR@
 DLLTOOL = @DLLTOOL@
 ECHO = @ECHO@
+FGIS_CONFIG = @FGIS_CONFIG@
+FGIS_LIBDIR = @FGIS_LIBDIR@
+FGIS_SCRIPTS = @FGIS_SCRIPTS@
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBEPP = @LIBEPP@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 OBJDUMP = @OBJDUMP@
@@ -90,8 +94,6 @@ install_sh = @install_sh@
 
 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
 subdir = tcl
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/include/config.h
@@ -256,15 +258,15 @@ install-binaries:
        done
 
 install-libraries:
-# install standalone scripts
-       $(mkinstalldirs) $(SCRIPTDIR)/tcl
+       $(mkinstalldirs) $(FGIS_SCRIPTS)
        -for i in $(SCRIPT_LIST) ; do \
          if [ -f $$i ] ; then \
-           $(INSTALL_PROGRAM) $$i $(SCRIPTDIR)/tcl/$$i ; \
+           $(INSTALL_PROGRAM) -m 644 $$i $(FGIS_SCRIPTS)/$$i ; \
          else true; fi ; \
        done
+       $(mkinstalldirs) $(TCL_PACKAGE_PATH)/fgis
        if [ -f pkgIndex.tcl  ] ; then \
-           $(INSTALL_PROGRAM) pkgIndex.tcl $(SCRIPTDIR)/pkgIndex.tcl ; \
+           $(INSTALL_PROGRAM) -m 644 pkgIndex.tcl $(TCL_PACKAGE_PATH)/fgis/pkgIndex.tcl ; \
        else true; fi
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.