Description: Remove generated files in clean target.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://trac.osgeo.org/postgis/ticket/6019

--- a/postgis/Makefile.in
+++ b/postgis/Makefile.in
@@ -268,6 +268,7 @@ uninstall_legacy.sql: legacy.sql ../util
 distclean: clean
 	rm -f Makefile
 	rm -f sqldefines.h
+	if [ -e "cunit/Makefile" ]; then make -C cunit distclean; fi
 
 check-unit:
 
