[mapserver-commits] r13114 - trunk/mapserver/tinyows
svn at osgeo.org
svn at osgeo.org
Wed Feb 8 20:28:47 EST 2012
Author: colivier
Date: 2012-02-08 17:28:46 -0800 (Wed, 08 Feb 2012)
New Revision: 13114
Modified:
trunk/mapserver/tinyows/Makefile.in
Log:
check_api rule add
ol | 2007-09-19 12:00:52 +0200 (Wed, 19 Sep 2007)
Modified: trunk/mapserver/tinyows/Makefile.in
===================================================================
--- trunk/mapserver/tinyows/Makefile.in 2012-02-09 01:28:38 UTC (rev 13113)
+++ trunk/mapserver/tinyows/Makefile.in 2012-02-09 01:28:46 UTC (rev 13114)
@@ -9,9 +9,14 @@
SRC = $(wildcard src/*/*.c)
-all: @API@
+all: @API@ check_api
$(CC) $(CFLAGS) $(PGFLAGS) $(XMLFLAGS) $(SRC) -o tinyows
+
+check_api:
+ @ls src/ows_api.h > /dev/null 2> /dev/null || (echo "You must run ./configure --enable-api first !" && exit 1)
+
+
api:
@echo "ows_api.h generation"
@cat $(SRC) | indent -nbfda -nbfde -npsl -l1000 > .foo.c
More information about the mapserver-commits
mailing list