summaryrefslogtreecommitdiffstats
path: root/generate_yaml_makefile.sh
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2017-02-02 11:57:39 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-02-09 11:45:01 +0000
commitd6f8a360fa246c65149e3b249158cb2ee68bfa32 (patch)
tree353a930dde25eaf975a50bc1da8c96ccdc183462 /generate_yaml_makefile.sh
parent5d4f2379695f7c28549b107f325e0b0cd43d83b1 (diff)
downloadphosphor-dbus-interfaces-d6f8a360fa246c65149e3b249158cb2ee68bfa32.tar.gz
phosphor-dbus-interfaces-d6f8a360fa246c65149e3b249158cb2ee68bfa32.zip
Install YAML files
Install YAML files when installing the package. Change-Id: I7515fa625a9cb33bc9947f5472a178e38fe9a515 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'generate_yaml_makefile.sh')
-rwxr-xr-xgenerate_yaml_makefile.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/generate_yaml_makefile.sh b/generate_yaml_makefile.sh
new file mode 100755
index 0000000..a6f014f
--- /dev/null
+++ b/generate_yaml_makefile.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+cd $1
+
+toplevel_dirs=xyz
+all_yaml=`find $toplevel_dirs -name "*.yaml"`
+
+echo "nobase_yaml_DATA = \\"
+for i in ${all_yaml};
+do
+ echo " ${i} \\"
+done
+echo
OpenPOWER on IntegriCloud