X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tcl%2FMakefile.am;h=daae713a503834c51c8b5ca10b24e6708ecb6b62;hb=ad6458c0bb78a96fdf5c926355b39e08944f7e5c;hp=2c1a7302f18d489393d0260c5b6a002e5c93453f;hpb=8d7c92e1a47c24c89b96e384aac6b808e5d4ecde;p=oss%2Ffgis.git diff --git a/tcl/Makefile.am b/tcl/Makefile.am index 2c1a730..daae713 100644 --- a/tcl/Makefile.am +++ b/tcl/Makefile.am @@ -22,6 +22,8 @@ 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 +EXTRA_DIST = $(bin_SCRIPTS) $(SCRIPT_LIST) + install: all install-binaries install-libraries install-binaries: @@ -33,10 +35,10 @@ install-binaries: done install-libraries: - $(mkinstalldirs) $(FGIS_SCRIPTS) + $(mkinstalldirs) $(FGIS_SCRIPTDIR) -for i in $(SCRIPT_LIST) ; do \ if [ -f $$i ] ; then \ - $(INSTALL_PROGRAM) -m 644 $$i $(FGIS_SCRIPTS)/$$i ; \ + $(INSTALL_PROGRAM) -m 644 $$i $(FGIS_SCRIPTDIR)/$$i ; \ else true; fi ; \ done $(mkinstalldirs) $(TCL_PACKAGE_PATH)/fgis @@ -44,3 +46,11 @@ install-libraries: $(INSTALL_PROGRAM) -m 644 pkgIndex.tcl $(TCL_PACKAGE_PATH)/fgis/pkgIndex.tcl ; \ else true; fi +uninstall: + -for i in $(bin_SCRIPTS) ; do \ + rm -f $(bindir)/$$i ; \ + done + -for i in $(SCRIPT_LIST) ; do \ + rm -f $(FGIS_SCRIPTDIR)/$$i ; \ + done + -rm -f $(TCL_PACKAGE_PATH)/fgis/pkgIndex.tcl