From: Sandro Santilli Date: Thu, 29 Sep 2011 19:43:06 +0000 (+0000) Subject: Fix distclean rule to drop Makefile too X-Git-Tag: 2.0.0alpha1~932 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e179f2522c30d47700088a8e356cff9cc4c32eb;p=postgis Fix distclean rule to drop Makefile too git-svn-id: http://svn.osgeo.org/postgis/trunk@7922 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/Makefile.in b/liblwgeom/Makefile.in index 4681a2519..1ab3e98f7 100644 --- a/liblwgeom/Makefile.in +++ b/liblwgeom/Makefile.in @@ -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 diff --git a/liblwgeom/cunit/Makefile.in b/liblwgeom/cunit/Makefile.in index 920a9c1af..89aa6ff91 100644 --- a/liblwgeom/cunit/Makefile.in +++ b/liblwgeom/cunit/Makefile.in @@ -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: