distclean-local: clean
rm -Rf autom4te.cache
+ rm -f GNUmakefile
rm -f config.log config.cache config.status
rm -f postgis_config.h
$(MAKE) -C html/image_src images-clean
clean:
- rm -f html/*.html
- rm -f postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.pdf
+ @rm -f html/*.html
+ @rm -f postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.pdf
$(MAKE) -C html/image_src clean
- rm -f postgis-out.xml postgis_aggs_mm.xml
+ @rm -f postgis-out.xml postgis_aggs_mm.xml
+
+distclean: clean
+ $(MAKE) -C html/image_src distclean
+ @rm -f Makefile
maintainer-clean: clean images-clean
rm -f postgis_comments.sql raster_comments.sql topology_comments.sql tiger_geocoder_comments.sql
rm -f generator
rm -f tmp[0-9].png
+distclean: clean
+ @rm -f Makefile
+
images-clean:
rm -f $(IMAGES) $(IMAGES_RESIZED)
EXTRA_CLEAN += sql/$(EXTENSION)--$(EXTVERSION).sql
endif
+distclean:
+ @rm Makefile
+
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
EXTRA_CLEAN += sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql
endif
+distclean:
+ @rm Makefile
+
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
distclean: clean
$(MAKE) -C cunit distclean
rm -f liblwgeom.h Makefile
+ rm -f Makefile
check: liblwgeom.la
$(MAKE) -C cunit check
clean:
$(MAKE) -C cunit clean
- rm -f $(SA_OBJS)
- rm -f $(NM_OBJS)
- rm -f libpgcommon.a
+ @rm -f $(SA_OBJS)
+ @rm -f $(NM_OBJS)
+ @rm -f libpgcommon.a
-# Nothing specific in distclean (will be done by clean)
-distclean:
+distclean: clean
+ $(MAKE) -C cunit distclean
+ @rm -f Makefile
check: libpgcommon.a
$(MAKE) -C cunit check
# *
# **********************************************************************
-all check clean :
\ No newline at end of file
+all check clean :
+
+distclean: clean
+ @rm -f Makefile
endif
clean:
- rm -rf .libs
- rm -f *.o $(SHP2PGSQL-CLI) $(PGSQL2SHP-CLI) $(GTK_WIN32_RES) $(SHP2PGSQL-GUI)
+ @rm -rf .libs
+ @rm -f *.o $(SHP2PGSQL-CLI) $(PGSQL2SHP-CLI) $(GTK_WIN32_RES) $(SHP2PGSQL-GUI)
$(MAKE) -C cunit clean
+distclean:
+ $(MAKE) -C cunit distclean
+ @rm -f Makefile
+
#
# Internationalization targets. These are going to need some work and
@rm -f $(OBJS)
@rm -f cu_tester.exe
+distclean: clean
+ @rm -f Makefile
+
# Requirements message
requirements_not_met_cunit:
@echo
uninstall_legacy.sql: legacy.sql ../utils/create_undef.pl
$(PERL) ../utils/create_undef.pl $< $(POSTGIS_PGSQL_VERSION) > $@
+
+distclean:
+ @rm Makefile
$(MAKE) -C loader $@
$(MAKE) -C test $@
$(MAKE) -C scripts $@
- $(RM) raster_config.h Makefile
+ @rm -f raster_config.h Makefile
core-check:
$(MAKE) -C test $@
$(MAKE) -C ../rt_core
clean:
- rm -rf .libs
- $(RM) *.o $(RASTER2PGSQL)
+ @rm -rf .libs
+ @rm -f *.o $(RASTER2PGSQL)
distclean: clean
- $(RM) Makefile
+ @rm -f Makefile
all: $(RT_LIB)
clean:
- $(RM) $(RT_OBJS)
- $(RM) $(RT_LIB)
+ @rm -f $(RT_OBJS)
+ @rm -f $(RT_LIB)
distclean: clean
- $(RM) Makefile
+ @rm -f Makefile
librtcore.a: $(RT_OBJS) $(RT_HEADERS)
$(AR) $(RT_LIB) $(RT_OBJS)
distclean: clean
# $(MAKE) -C plpgsql $@
$(MAKE) -C python $@
- $(RM) -f Makefile
+ @rm -f Makefile
# $(RM) $(DESTDIR)$(PGSQL_BINDIR)/$(RASTER2PGSQL)
clean:
- $(RM) *.o
+ @rm -f *.o
distclean: clean
+ @rm -f Makefile
$(MAKE) -C regress $@
distclean: clean
- $(RM) Makefile
+ $(MAKE) -C core $@
+ $(MAKE) -C regress $@
+ @rm -f Makefile
clean:
rm -rf .libs
- $(RM) *.o $(TESTAPI) $(TESTWKB)
+ @rm -f *.o $(TESTAPI) $(TESTWKB)
distclean: clean
- $(RM) Makefile
+ @rm -f Makefile
all:
@echo "Use 'make check' to run all tests"
-clean distclean:
- $(RM) rtpostgis.sql
+distclean: clean
+ @rm -f Makefile
+
+clean:
+ $(RM) -f rtpostgis.sql
rtpostgis.sql: ../../rt_pg/rtpostgis.sql
sed 's,$$libdir,$(REGRESS_INSTALLDIR)/lib,g' ../../rt_pg/rtpostgis.sql > rtpostgis.sql
in_geojson
endif
-all install uninstall distclean:
+all install uninstall:
+
+distclean: clean
+ @rm Makefile
staged-install-topology:
@if test x"@TOPOLOGY@" != "x"; then \
check: topology.sql
$(MAKE) -C test $@
+
+distclean:
+ @rm Makefile