diff options
Diffstat (limited to 'schema')
-rw-r--r-- | schema/custom/README (renamed from schema/README) | 0 | ||||
-rw-r--r-- | schema/custom/database.hxx (renamed from schema/database.hxx) | 2 | ||||
-rw-r--r-- | schema/custom/driver.cxx (renamed from schema/driver.cxx) | 2 | ||||
-rw-r--r-- | schema/custom/employee.hxx (renamed from schema/employee.hxx) | 2 | ||||
-rw-r--r-- | schema/custom/makefile (renamed from schema/makefile) | 13 |
5 files changed, 9 insertions, 10 deletions
diff --git a/schema/README b/schema/custom/README index 373169f..373169f 100644 --- a/schema/README +++ b/schema/custom/README diff --git a/schema/database.hxx b/schema/custom/database.hxx index 8e27e16..88536ab 100644 --- a/schema/database.hxx +++ b/schema/custom/database.hxx @@ -1,4 +1,4 @@ -// file : schema/database.hxx +// file : schema/custom/database.hxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : not copyrighted - public domain diff --git a/schema/driver.cxx b/schema/custom/driver.cxx index 3f36f03..3e49c72 100644 --- a/schema/driver.cxx +++ b/schema/custom/driver.cxx @@ -1,4 +1,4 @@ -// file : schema/driver.cxx +// file : schema/custom/driver.cxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : not copyrighted - public domain diff --git a/schema/employee.hxx b/schema/custom/employee.hxx index 25f8d8f..742ad42 100644 --- a/schema/employee.hxx +++ b/schema/custom/employee.hxx @@ -1,4 +1,4 @@ -// file : schema/employee.hxx +// file : schema/custom/employee.hxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : not copyrighted - public domain diff --git a/schema/makefile b/schema/custom/makefile index ed5114e..e03c31c 100644 --- a/schema/makefile +++ b/schema/custom/makefile @@ -1,9 +1,9 @@ -# file : schema/makefile +# file : schema/custom/makefile # author : Boris Kolpackov <boris@codesynthesis.com> # copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC # license : GNU GPL v2; see accompanying LICENSE file -include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make +include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make cxx_tun := driver.cxx odb_hdr := employee.hxx @@ -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) @@ -74,13 +74,12 @@ $(dist): export extra_dist := README $(call vc9projs,$(name)) \ $(call vc10projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) - $(call meta-automake,../template/Makefile.am) - $(call meta-vc9projs,../template/template,$(name)) - $(call meta-vc10projs,../template/template,$(name)) + $(call meta-automake,../../template/Makefile.am) + $(call meta-vc9projs,../../template/template,$(name)) + $(call meta-vc10projs,../../template/template,$(name)) # Test. # -$(test): schema := $(src_base)/$(basename $(odb_hdr)).sql $(test): $(driver) $(call message,test $<,$< --options-file $(dcf_root)/db.options) |