]> granicus.if.org Git - postgis/commitdiff
Added 'test' and 'maintainer-clean' rules.
authorSandro Santilli <strk@keybit.net>
Fri, 4 Mar 2005 14:25:39 +0000 (14:25 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 4 Mar 2005 14:25:39 +0000 (14:25 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1480 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile

index b26c464671732354ba72e908240429bb39518054..4c0d5837cbb173362f234acc0ff4db4d03fb04fb 100644 (file)
--- 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