From patchwork Fri Sep 21 09:22:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Add autotools scripts for the data directory Date: Thu, 20 Sep 2012 23:22:01 -0000 From: Keng-Yu Lin X-Patchwork-Id: 185637 Message-Id: <1348219321-31203-1-git-send-email-kengyu@canonical.com> To: fwts-devel@lists.ubuntu.com The json files in the data directory has no automake/autoconf scripts that handle the installation. It works before because the Debian packaging tool does the installation. But as we now release fwts as tarballs. It is better to get this done by the autotools. Signed-off-by: Keng-Yu Lin Acked-by: Colin Ian King Acked-by: Ivan Hu --- Makefile.am | 2 +- configure.ac | 1 + data/Makefile.am | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 data/Makefile.am diff --git a/Makefile.am b/Makefile.am index 26226b0..09f5bec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,3 @@ -SUBDIRS = src +SUBDIRS = src data ACLOCAL_AMFLAGS = -I m4 diff --git a/configure.ac b/configure.ac index dd7e76e..48481aa 100644 --- a/configure.ac +++ b/configure.ac @@ -81,5 +81,6 @@ src/acpica/Makefile src/lib/Makefile src/lib/src/Makefile + data/Makefile ]) AC_OUTPUT diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..f9ee508 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,2 @@ +fwtsdatadir = $(pkgdatadir) +fwtsdata_DATA = klog.json syntaxcheck.json