diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2016-10-10 12:43:48 -0500 |
---|---|---|
committer | Andrew Geissler <andrewg@us.ibm.com> | 2016-10-31 13:20:30 -0500 |
commit | 328889d5a6d0926f4876f3692713a759185812e1 (patch) | |
tree | 57b0a6b443e5c2809fbac3094494e6573a85919b /bootstrap.sh | |
parent | f855c3e54f2c06da0649a7dfc31f60d7a36bcd6f (diff) | |
download | phosphor-logging-328889d5a6d0926f4876f3692713a759185812e1.tar.gz phosphor-logging-328889d5a6d0926f4876f3692713a759185812e1.zip |
Add in test case which validates elog client interface
Change-Id: I5c5f7a550a8f272251893ff616408c41d32281f9
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..9941c73 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,18 @@ +#!/bin/sh -xe + +AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \ + config.guess config.h.in config.sub configure depcomp install-sh \ + ltmain.sh missing *libtool test-driver" + +case $1 in + clean) + test -f Makefile && make maintainer-clean + for file in ${AUTOCONF_FILES}; do + find -name "$file" | xargs -r rm -rf + done + exit 0 + ;; +esac + +autoreconf -i +echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'
\ No newline at end of file |