From 9803ec306691a51db820a7f14fc240eae4c910e8 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 12 Feb 2007 01:30:02 +0000 Subject: Added 'testpkg' binary to test for validity of a package: testpkg , returns 0 on success, 1 on failure failure will also output error messages to stdout --- src/util/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/util/Makefile.am') diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 361a742f..8f3a98bd 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -1,7 +1,9 @@ -bin_PROGRAMS = vercmp +bin_PROGRAMS = vercmp testpkg AM_CFLAGS = -I$(top_srcdir)/lib/libalpm vercmp_SOURCES = vercmp.c +vercmp_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.so -vercmp_LDADD = $(top_builddir)/lib/libalpm/libalpm.la +testpkg_SOURCES = testpkg.c +testpkg_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.so -- cgit v1.2.3-54-g00ecf