X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=oss%2Ffgis.git;a=blobdiff_plain;f=tcl%2FMakefile.am;fp=tcl%2FMakefile.am;h=2c1a7302f18d489393d0260c5b6a002e5c93453f;hp=41a33d8c0430d4dfee421ceb5dd722d140825f2e;hb=8d7c92e1a47c24c89b96e384aac6b808e5d4ecde;hpb=ed514d6406b2a9110a2dcc043b4c6a1af755e081 diff --git a/tcl/Makefile.am b/tcl/Makefile.am index 41a33d8..2c1a730 100644 --- a/tcl/Makefile.am +++ b/tcl/Makefile.am @@ -22,8 +22,6 @@ 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 - install: all install-binaries install-libraries install-binaries: @@ -35,14 +33,14 @@ 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