From dcf0a959785de8dfa1385a013a053d78cfb4d84f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 29 Sep 2009 14:40: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 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) -- cgit v1.1