aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-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)