summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-08-20 22:46:07 +0200
committerAllan McRae <allan@archlinux.org>2014-09-16 12:05:42 +0200
commite4773b1b82a737a74434d778c1043367a480205a (patch)
treec441babae1785b6dc4c9ed41196901b17f74cb41 /scripts/Makefile.am
parent8bf2c753f57bfb6f8cd0271613000af64ce58020 (diff)
downloadpacman-e4773b1b82a737a74434d778c1043367a480205a.tar.gz
pacman-e4773b1b82a737a74434d778c1043367a480205a.tar.xz
pacman-db-upgrade: use pacman-style options
* convert dbpath from argument to option * add --config and --root options * read dbpath and root from config file * if root is set but not dbpath, dbpath is set relative to root Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 0b756ad6..bc1dc10c 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -54,6 +54,7 @@ endif
#### Taken from the autoconf scripts Makefile.am ####
edit = sed \
+ -e 's|@rootdir[@]|$(ROOTDIR)|g' \
-e 's|@localedir[@]|$(localedir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \