summaryrefslogtreecommitdiff
path: root/build-0.3/git
diff options
context:
space:
mode:
Diffstat (limited to 'build-0.3/git')
-rwxr-xr-xbuild-0.3/git/gitignore13
-rw-r--r--build-0.3/git/gitignore.make11
2 files changed, 24 insertions, 0 deletions
diff --git a/build-0.3/git/gitignore b/build-0.3/git/gitignore
new file mode 100755
index 0000000..a8828d7
--- /dev/null
+++ b/build-0.3/git/gitignore
@@ -0,0 +1,13 @@
+#! /usr/bin/env bash
+
+# file : build/git/gitignore
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+echo '# Generated .gitignore file; do not edit or version control.'
+echo '#'
+
+for f in "$@"; do
+echo $f
+done
diff --git a/build-0.3/git/gitignore.make b/build-0.3/git/gitignore.make
new file mode 100644
index 0000000..c42467a
--- /dev/null
+++ b/build-0.3/git/gitignore.make
@@ -0,0 +1,11 @@
+# file : build/git/gitignore.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(out_base)/.gitignore:
+ @$(bld_root)/git/gitignore $(files) >$@
+
+.PHONY: $(out_base)/.gitignore.clean
+$(out_base)/.gitignore.clean:
+ @rm -f $(basename $@)