summaryrefslogtreecommitdiff
path: root/documentation/cxx/parser/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-22 14:40:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-22 14:40:53 +0200
commit3c853bc264719437bcb2807d75ff5e9f9a3ea4f8 (patch)
treee9405b1078b0ed8a7be6c296d1a50653c1785b89 /documentation/cxx/parser/makefile
parent8564df32f304589dfdffe46140a75f6e5d44523c (diff)
Add distribution-specific files, dist and dist-win targets
Diffstat (limited to 'documentation/cxx/parser/makefile')
-rw-r--r--documentation/cxx/parser/makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/cxx/parser/makefile b/documentation/cxx/parser/makefile
new file mode 100644
index 0000000..69a9557
--- /dev/null
+++ b/documentation/cxx/parser/makefile
@@ -0,0 +1,20 @@
+# file : documentation/cxx/parser/makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2006-2009 Code Synthesis Tools CC
+# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make
+
+docs := guide
+
+default := $(out_base)/
+dist := $(out_base)/.dist
+dist-win := $(out_base)/.dist-win
+cleandoc := $(out_base)/.cleandoc
+
+$(default): $(addprefix $(out_base)/,$(addsuffix /,$(docs)))
+$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(docs)))
+$(dist-win): $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(docs)))
+$(cleandoc): $(addprefix $(out_base)/,$(addsuffix /.cleandoc,$(docs)))
+
+$(foreach m,$(docs),$(call import,$(src_base)/$m/makefile))