]> granicus.if.org Git - postgis/commitdiff
Fix distclean rule to drop Makefile too
authorSandro Santilli <strk@keybit.net>
Thu, 29 Sep 2011 19:43:06 +0000 (19:43 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 29 Sep 2011 19:43:06 +0000 (19:43 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7922 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/Makefile.in
liblwgeom/cunit/Makefile.in

index 4681a251945ba0a21fe6191310da41f682f1317d..1ab3e98f7679c99991c83381d45ba0eed31df21c 100644 (file)
@@ -128,10 +128,11 @@ clean:
        rm -rf .libs
 
 distclean: clean
-       rm -f liblwgeom.h
+       $(MAKE) -C cunit distclean
+       rm -f liblwgeom.h Makefile
 
 check: liblwgeom.la
-       make -C cunit check
+       $(MAKE) -C cunit check
 
 # Command to build each of the .lo files
 $(LT_SA_OBJS): %.lo: %.c
index 920a9c1af27fa61b82f07c4f156a1ea7fa2d87dd..89aa6ff91c12382285f6f6b7c6245f218fb321cb 100644 (file)
@@ -69,8 +69,11 @@ $(OBJS): %.o: %.c
 
 # Clean target
 clean:
-       @rm -f $(OBJS)
-       @rm -f cu_tester
+       rm -f $(OBJS)
+       rm -f cu_tester
+
+distclean: clean
+       rm -f Makefile
 
 # Requirements message
 requirements_not_met_cunit: