From patchwork Fri Sep 21 09:22:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keng-Yu Lin X-Patchwork-Id: 185637 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 230AD2C0081 for ; Fri, 21 Sep 2012 19:22:14 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TEzOw-0000Ca-1v; Fri, 21 Sep 2012 09:19:58 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TEzOt-0000CL-Q1 for fwts-devel@lists.ubuntu.com; Fri, 21 Sep 2012 09:19:55 +0000 Received: from [42.71.16.28] (helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TEzR3-0006LN-Mr; Fri, 21 Sep 2012 09:22:10 +0000 From: Keng-Yu Lin To: fwts-devel@lists.ubuntu.com Subject: [PATCH] Add autotools scripts for the data directory Date: Fri, 21 Sep 2012 17:22:01 +0800 Message-Id: <1348219321-31203-1-git-send-email-kengyu@canonical.com> X-Mailer: git-send-email 1.7.9.5 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@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