[postgis-tickets] r16435 - Rename "astyle" Makefile rule to "fmt", mark as phony

Sandro Santilli strk at kbt.io
Wed Feb 28 01:58:06 PST 2018


Author: strk
Date: 2018-02-28 13:58:06 -0800 (Wed, 28 Feb 2018)
New Revision: 16435

Modified:
   trunk/GNUmakefile.in
Log:
Rename "astyle" Makefile rule to "fmt", mark as phony

otherwise with my version of make I get an "astyle" script created (!)

Modified: trunk/GNUmakefile.in
===================================================================
--- trunk/GNUmakefile.in	2018-02-27 17:42:55 UTC (rev 16434)
+++ trunk/GNUmakefile.in	2018-02-28 21:58:06 UTC (rev 16435)
@@ -137,11 +137,12 @@
 raster-sql:
 	$(MAKE) -C raster rtpostgis.sql
 
-astyle:
+.PHONY: fmt
+fmt:
 	./astyle.sh
 
 commit:
-	$(MAKE) astyle && $(MAKE) clean && $(MAKE) check && svn commit
+	$(MAKE) fmt && $(MAKE) clean && $(MAKE) check && svn commit
 
 authors.git: authors.svn
 	sed -e 's/:/ = /' authors.svn > authors.git



More information about the postgis-tickets mailing list