From 31a55df3d9750b2cdb21d436c4bf3ffbf24c4f4d Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 22 Sep 2013 11:25:30 +0100 Subject: makepkg: add LIBRARY variable This points makepkg to where is library is located. Can be overridden by value in the environment. Signed-off-by: Allan McRae [Ashley: Rebased] Signed-off-by: Ashley Whetter --- scripts/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/Makefile.am') diff --git a/scripts/Makefile.am b/scripts/Makefile.am index f45065da..81307045 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -39,6 +39,8 @@ LIBRARY = \ # Files that should be removed, but which Automake does not know. MOSTLYCLEANFILES = $(bin_SCRIPTS) +libmakepkgdir = $(libdir)/makepkg + clean-local: $(AM_V_at)$(RM) -r .lib @@ -54,6 +56,7 @@ edit = sed \ -e 's|@localedir[@]|$(localedir)|g' \ -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ -e 's|@localstatedir[@]|$(localstatedir)|g' \ + -e 's|@libmakepkgdir[@]|$(libmakepkgdir)|g' \ -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \ -e 's|@prefix[@]|$(prefix)|g' \ -e '1s|!/bin/bash|!$(BASH_SHELL)|g' \ -- cgit v1.2.3-24-g4f1b