From 06d63167c8aefc168f4fa774908323e556e6a4e9 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Mon, 15 Dec 2008 04:45:31 +0000 Subject: [PATCH] opkg: distcheck fixes git-svn-id: http://opkg.googlecode.com/svn/trunk@36 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- configure.ac | 2 +- libopkg/Makefile.am | 2 +- src/opkg-frontend.c | 2 +- tests/Makefile.am | 4 ++-- tests/opkg_extract_test.c | 2 +- tests/opkg_hash_test.c | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index a7e8fda..e36b664 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script -AC_INIT(libopkg/opkg.c) +AC_INIT(libopkg/libopkg.c) AM_INIT_AUTOMAKE([opkg], [0.99.163]) AM_CONFIG_HEADER(libopkg/config.h) diff --git a/libopkg/Makefile.am b/libopkg/Makefile.am index a780825..3dcbea7 100644 --- a/libopkg/Makefile.am +++ b/libopkg/Makefile.am @@ -1,5 +1,5 @@ -ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_builddir) +ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) libopkg_includedir=$(includedir)/libopkg diff --git a/src/opkg-frontend.c b/src/opkg-frontend.c index 47671d2..08a3e49 100644 --- a/src/opkg-frontend.c +++ b/src/opkg-frontend.c @@ -18,7 +18,7 @@ */ -#include "libopkg.h" +#include /* This is really small, eh? ;-) */ diff --git a/tests/Makefile.am b/tests/Makefile.am index f7be7ff..fe67e99 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -3,10 +3,10 @@ noinst_PROGRAMS = opkg_hash_test opkg_extract_test opkg_hash_test_LDADD = $(top_builddir)/libbb/libbb.la $(top_builddir)/libopkg/libopkg.la opkg_hash_test_SOURCES = opkg_hash_test.c -opkg_hash_test_CFLAGS = $(ALL_CFLAGS) -I$(top_builddir) +opkg_hash_test_CFLAGS = $(ALL_CFLAGS) -I$(top_srcdir) opkg_extract_test_LDADD = $(top_builddir)/libbb/libbb.la $(top_builddir)/libopkg/libopkg.la opkg_extract_test_SOURCES = opkg_extract_test.c -opkg_extract_test_CFLAGS = $(ALL_CFLAGS) -I$(top_builddir) +opkg_extract_test_CFLAGS = $(ALL_CFLAGS) -I$(top_srcdir) diff --git a/tests/opkg_extract_test.c b/tests/opkg_extract_test.c index 83e23e3..582ea71 100644 --- a/tests/opkg_extract_test.c +++ b/tests/opkg_extract_test.c @@ -1,6 +1,6 @@ #include #include -#include "libbb/libbb.h" +#include /* * build thus: diff --git a/tests/opkg_hash_test.c b/tests/opkg_hash_test.c index 934dac7..7d4ea96 100644 --- a/tests/opkg_hash_test.c +++ b/tests/opkg_hash_test.c @@ -15,11 +15,11 @@ General Public License for more details. */ -#include "opkg.h" +#include -#include "hash_table.h" -#include "opkg_utils.h" -#include "pkg_hash.h" +#include +#include +#include int main(int argc, char *argv[]) { -- 2.25.1