From: dron Date: Sat, 11 Jan 2003 19:13:12 +0000 (+0000) Subject: uninstall targets added X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=oss%2Ffgis.git;a=commitdiff_plain;h=2cc91b9f6889f9dde33a17eb6bd2c1859d7af1bf uninstall targets added --- diff --git a/ChangeLog b/ChangeLog index 3cba1cb..56be480 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-01-08 Andrey Kiselev + + * /etc/Makefile.am, /include/Makefile.am, /tcl/Makefile.am: + uninstall targets added + * /etc/Makefile.in, /include/Makefile.in, /tcl/Makefile.in, + /dll/Makefile.in, /lib/Makefile.in, Makefile.in: created + 2003-01-08 Andrey Kiselev * /etc/fgis.rc.in, /tcl/{mapview, hypermap}: diff --git a/Makefile.am b/Makefile.am index 9d82074..baac7ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,6 +19,8 @@ ## Process this file with automake to produce Makefile.in. +EXTRA_DIST = acsite.m4 autogen.sh + AUTOMAKE_OPTIONS = dist-bzip2 SUBDIRS = etc include lib dll tcl diff --git a/Makefile.in b/Makefile.in index c392c59..d9c7565 100644 --- a/Makefile.in +++ b/Makefile.in @@ -92,6 +92,8 @@ am__include = @am__include@ am__quote = @am__quote@ install_sh = @install_sh@ +EXTRA_DIST = acsite.m4 autogen.sh + AUTOMAKE_OPTIONS = dist-bzip2 SUBDIRS = etc include lib dll tcl subdir = . diff --git a/etc/Makefile.am b/etc/Makefile.am index 3c5ada8..efb5beb 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -27,3 +27,6 @@ install-libraries: $(INSTALL_PROGRAM) -m 644 fgis.rc $(FGIS_CONFDIR)/fgis.rc ; \ else true; fi +uninstall: + -rm -f $(FGIS_CONFDIR)/fgis.rc + diff --git a/include/Makefile.am b/include/Makefile.am index 418dedb..e29bc4b 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -19,3 +19,5 @@ ## Process this file with automake to produce Makefile.in. +EXTRA_DIST = clr.h defpal.h dgt.h epp.h epp_err.h eppl.h eppl_ut.h getopt.h reclass.h regex.h + diff --git a/tcl/Makefile.am b/tcl/Makefile.am index 816f409..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: @@ -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