mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-16 22:35:09 -05:00
046c8a6819
This reverts commitdfc85cb5f5
andb6f3fe6957
. This DB check is already in testdb (among others). Also testdb now uses the db path set at make time by default, so specifying the db path is optional. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
28 lines
746 B
Makefile
28 lines
746 B
Makefile
# paths set at make time
|
|
conffile = ${sysconfdir}/pacman.conf
|
|
dbpath = ${localstatedir}/lib/pacman/
|
|
cachedir = ${localstatedir}/cache/pacman/pkg/
|
|
|
|
bin_PROGRAMS = vercmp testpkg testdb
|
|
|
|
DEFS = -DLOCALEDIR=\"@localedir@\" \
|
|
-DCONFFILE=\"$(conffile)\" \
|
|
-DROOTDIR=\"$(ROOTDIR)\" \
|
|
-DDBPATH=\"$(dbpath)\" \
|
|
-DCACHEDIR=\"$(cachedir)\" \
|
|
@DEFS@
|
|
INCLUDES = -I$(top_srcdir)/lib/libalpm
|
|
|
|
AM_CFLAGS = -pedantic -D_GNU_SOURCE
|
|
|
|
vercmp_SOURCES = vercmp.c
|
|
vercmp_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
|
|
|
|
testpkg_SOURCES = testpkg.c
|
|
testpkg_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
|
|
|
|
testdb_SOURCES = testdb.c
|
|
testdb_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
|
|
|
|
# vim:set ts=2 sw=2 noet:
|