From 178c1d228d5b910908e16f9c3715e318d6df4882 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 23 Jul 2007 16:58:04 -0400 Subject: Cleanup of pacman.c and addition of default paths to frontend Instead of barfing when the root path and db path haven't been defined, have pacman set them to some sane defaults when they aren't specified on either the command line or the config file. Also do some cleaning of error output and Doxygen comments. Signed-off-by: Dan McGee --- src/pacman/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pacman/Makefile.am') diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am index 589ac63c..d997ecc6 100644 --- a/src/pacman/Makefile.am +++ b/src/pacman/Makefile.am @@ -1,10 +1,13 @@ # paths set at make time conffile = ${sysconfdir}/pacman.conf +dbpath = ${localstatedir}/lib/pacman/ bin_PROGRAMS = pacman pacman.static DEFS = -DLOCALEDIR=\"@localedir@\" \ -DCONFFILE=\"$(conffile)\" \ + -DROOTDIR=\"$(ROOTDIR)\" \ + -DDBPATH=\"$(dbpath)\" \ @DEFS@ INCLUDES = -I$(top_srcdir)/lib/libalpm -- cgit v1.2.3-24-g4f1b