From: Sandro Santilli Date: Fri, 4 Mar 2005 14:25:39 +0000 (+0000) Subject: Added 'test' and 'maintainer-clean' rules. X-Git-Tag: pgis_1_0_0RC4~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=104269ea34d1b30464840fb959ea9a97992029a0;p=postgis Added 'test' and 'maintainer-clean' rules. git-svn-id: http://svn.osgeo.org/postgis/trunk@1480 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/Makefile b/Makefile index b26c46467..4c0d5837c 100644 --- a/Makefile +++ b/Makefile @@ -10,8 +10,21 @@ install: all liblwgeom-install loaderdumper-install uninstall: liblwgeom-uninstall loaderdumper-uninstall -clean: liblwgeom-clean loaderdumper-clean - rm -f lwpostgis.sql +clean: liblwgeom-clean loaderdumper-clean test-clean + @rm -f lwpostgis.sql + +maintainer-clean: + @echo '------------------------------------------------------' + @echo 'This command is intended for maintainers to use; it' + @echo 'deletes files that may need special tools to rebuild.' + @echo '------------------------------------------------------' + $(MAKE) -C lwgeom maintainer-clean + +test: liblwgeom + $(MAKE) -C regress test + +test-clean: + $(MAKE) -C regress clean liblwgeom: $(MAKE) -C lwgeom