diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-22 14:40:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-22 14:40:53 +0200 |
commit | 3c853bc264719437bcb2807d75ff5e9f9a3ea4f8 (patch) | |
tree | e9405b1078b0ed8a7be6c296d1a50653c1785b89 /xsd | |
parent | 8564df32f304589dfdffe46140a75f6e5d44523c (diff) |
Add distribution-specific files, dist and dist-win targets
Diffstat (limited to 'xsd')
-rw-r--r-- | xsd/makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/xsd/makefile b/xsd/makefile index af783cb..45da111 100644 --- a/xsd/makefile +++ b/xsd/makefile @@ -60,9 +60,11 @@ cxx_tun += processing/cardinality/processor.cxx \ cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) cxx_od := $(cxx_obj:.o=.o.d) -xsd := $(out_base)/xsd -clean := $(out_base)/.clean -install := $(out_base)/.install +xsd := $(out_base)/xsd +install := $(out_base)/.install +dist := $(out_base)/.dist +dist-win := $(out_base)/.dist-win +clean := $(out_base)/.clean # Import. # @@ -107,17 +109,21 @@ $(call include-dep,$(cxx_od)) .PHONY: $(out_base)/ $(out_base)/: $(xsd) -# install +# Install # -.PHONY: $(install) - $(install): $(xsd) $(call install-exec,$<,$(install_bin_dir)/xsd) -# Clean. +# Dist. # -.PHONY: $(clean) +$(dist): $(xsd) + $(call install-exec,$<,$(dist_prefix)/bin/xsd) + +$(dist-win): $(xsd) + $(call install-exec,$<,$(dist_prefix)/bin/xsd.exe) +# Clean. +# $(clean): \ $(xsd).o.clean \ $(addsuffix .cxx.clean,$(cxx_obj)) \ |