aboutsummaryrefslogtreecommitdiff
path: root/template/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-25 12:07:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-25 12:07:33 +0200
commit2ef165437ce47f50110a9b230f302c5cd5fde1d4 (patch)
treeb1b7c14b9b264e8571ec37c3098c8763ef655ca2 /template/makefile
parent10d9fed7123cdc7fd9287d2cf6fea8c40c2402a0 (diff)
Add support for examples in subdirectories
Move the schema example to schema/custom.
Diffstat (limited to 'template/makefile')
-rw-r--r--template/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/makefile b/template/makefile
index e2f9ee5..44f393a 100644
--- a/template/makefile
+++ b/template/makefile
@@ -62,7 +62,7 @@ $(out_base)/: $(driver)
# Dist
#
-name := $(notdir $(src_base))
+name := $(subst /,-,$(subst $(src_root)/,,$(src_base)))
$(dist): db_id := @database@
$(dist): sources := $(cxx_tun)