aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-29 14:40:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-29 14:40:59 +0200
commitdcf0a959785de8dfa1385a013a053d78cfb4d84f (patch)
treeb91b5293628275aebe313ba81119ad1ff9e61a7a
parent45b5a1b9304082b4c88f61d6eb9ce5e9f301ed0b (diff)
Add support for the dist and dist-win targets
-rw-r--r--makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/makefile b/makefile
index 74722c0..97566ac 100644
--- a/makefile
+++ b/makefile
@@ -7,7 +7,7 @@ include $(dir $(lastword $(MAKEFILE_LIST)))/build-0.3/bootstrap.make
default := $(out_base)/
-.PHONY: $(default) test install clean
+.PHONY: $(default) test install dist dist-win clean
# Build.
#
@@ -21,6 +21,11 @@ test: $(out_base)/xsd/.test
#
install: $(out_base)/xsd/.install
+# Dist.
+#
+dist: $(out_base)/xsd/.dist
+dist-win: $(out_base)/xsd/.dist-win
+
# Clean.
#
clean: $(out_base)/libcult/.clean \
@@ -65,7 +70,7 @@ src_root := $(src_base)/xsd
scf_root := $(src_root)/build
out_root := $(src_root)
-ifneq ($(filter $(MAKECMDGOALS),clean test install),)
+ifneq ($(filter $(MAKECMDGOALS),clean test install dist dist-win),)
$(call import,$(src_base)/xsd/makefile)
else
$(call import,$(src_base)/xsd/xsd/makefile)