Fix pacman-optimize autoconf paths

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-06-04 17:35:31 -04:00
parent d9ff7bbcd2
commit 1698022bea
2 changed files with 3 additions and 6 deletions

View file

@ -33,12 +33,10 @@ MOSTLYCLEANFILES = $(bin_SCRIPTS) *.tmp
edit = sed \
-e 's|@localedir[@]|$(localedir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@prefix[@]|$(prefix)|g' \
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
-e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
-e 's|@ROOTDIR[@]|$(ROOTDIR)|g' \
-e 's|@DBPATH[@]|$(DBPATH)|g' \
-e 's|@LOCKFILE[@]|$(LOCKFILE)|g' \
-e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g'
## All the scripts depend on Makefile so that they are rebuilt when the

View file

@ -26,9 +26,8 @@ export TEXTDOMAIN='pacman'
export TEXTDOMAINDIR='@localedir@'
myver='@PACKAGE_VERSION@'
# TODO fix these paths
dbroot='@ROOTDIR@@DBPATH@'
lockfile='@ROOTDIR@@LOCKFILE@'
dbroot='@localstatedir@/lib/pacman/'
lockfile='@localstatedir@/run/pacman.lck'
msg() {
local mesg=$1; shift