From 67594069075b97ed047d3cbc1767901fd89de4ec Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Tue, 29 Sep 2009 14:41:59 +0200
Subject: Add support for the dist and dist-win targets

---
 makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'makefile')

diff --git a/makefile b/makefile
index 85c41fb..c56966b 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)/xsde/.test
 #
 install: $(out_base)/xsde/.install
 
+# Dist.
+#
+dist: $(out_base)/xsde/.dist
+dist-win: $(out_base)/xsde/.dist-win
+
 # Clean.
 #
 clean: $(out_base)/libcult/.clean              \
@@ -65,7 +70,7 @@ src_root := $(src_base)/xsde
 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)/xsde/makefile)
 else
 $(call import,$(src_base)/xsde/xsde/makefile)
-- 
cgit v1.1