diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-02-25 09:54:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-02-25 09:54:14 +0200 |
commit | bf3cfa08d963b55297ba246a0e7c79533f560903 (patch) | |
tree | 9159a9fb7cc1c049900ddfd17fde27419c6751dc /xsde/makefile | |
parent | f5c6310f5c11b4cb4a752be9c989df8bce173aa8 (diff) |
Autogenerate .gitignore files for tests and examples
This functionality requires build 0.3.4 or later.
Diffstat (limited to 'xsde/makefile')
-rw-r--r-- | xsde/makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xsde/makefile b/xsde/makefile index 2272811..9d25cf9 100644 --- a/xsde/makefile +++ b/xsde/makefile @@ -154,6 +154,18 @@ $(clean): \ $(addsuffix .cxx.clean,$(cxx_od)) +# Generated .gitignore. +# +ifeq ($(out_base),$(src_base)) +$(xsde): | $(out_base)/.gitignore + +$(out_base)/.gitignore: files := xsde +$(clean): $(out_base)/.gitignore.clean + +$(call include,$(bld_root)/git/gitignore.make) +endif + + # how to # $(call include,$(bld_root)/cxx/o-e.make) |