summaryrefslogtreecommitdiff
path: root/make/template
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-04-01 18:50:16 -0500
committerDaniel De Graaf <danieldg@inspircd.org>2010-04-01 19:01:32 -0500
commitcd6b7a8cda83f54679634624e84e92b91cf80683 (patch)
tree311a67cdc262ab4e5721c899f15b631e5b2d870b /make/template
parenta72520a03c2176f0a99a2dbe2f3c4b4c6a95a3e1 (diff)
Split up API_VERSION number
Since we can make API changes in multiple branches at the same time, a single sequence number is insufficient. Use two numbers to indicate the major version and API increment.
Diffstat (limited to 'make/template')
-rw-r--r--make/template/main.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index cd00cfe19..a3daaee10 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -132,6 +132,10 @@ debug-header:
@echo "*************************************"
mod-header:
+@IFEQ $(PURE_STATIC) 1
+ @echo 'Cannot build single modules in pure-static build'
+ @exit 1
+@ENDIF
@echo 'Building single module:'
mod-footer: target