aboutsummaryrefslogtreecommitdiff
path: root/query
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 /query
parent10d9fed7123cdc7fd9287d2cf6fea8c40c2402a0 (diff)
Add support for examples in subdirectories
Move the schema example to schema/custom.
Diffstat (limited to 'query')
-rw-r--r--query/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/query/makefile b/query/makefile
index 560555c..c4a9627 100644
--- a/query/makefile
+++ b/query/makefile
@@ -63,7 +63,7 @@ $(out_base)/: $(driver)
# Dist
#
-name := $(notdir $(src_base))
+name := $(subst /,-,$(subst $(src_root)/,,$(src_base)))
$(dist): db_id := @database@
$(dist): sources := $(cxx_tun)