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/gitignore12
-rw-r--r--build-0.3/git/gitignore.make10
2 files changed, 22 insertions, 0 deletions
diff --git a/build-0.3/git/gitignore b/build-0.3/git/gitignore
new file mode 100755
index 0000000..6663e51
--- /dev/null
+++ b/build-0.3/git/gitignore
@@ -0,0 +1,12 @@
+#! /usr/bin/env bash
+
+# file : build/git/gitignore
+# copyright : Copyright (c) 2004-2012 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..931d2cd
--- /dev/null
+++ b/build-0.3/git/gitignore.make
@@ -0,0 +1,10 @@
+# file : build/git/gitignore.make
+# copyright : Copyright (c) 2004-2012 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 $@)