libmakepkg: generate all scripts

In order for the scripts to be used in testsuites, it is easiest to generate
all of them so they are found in the build directory (which may be different
to the source directory).

Signed-off-by: Alad Wenter <alad@archlinux.info>
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit aca153bfa6)
This commit is contained in:
Alad Wenter 2016-10-08 19:34:15 +02:00 committed by Andrew Gregory
parent c2aed8aaff
commit 7bb1c73cfa
5 changed files with 10 additions and 9 deletions

View file

@ -1,6 +1,10 @@
# enforce that all scripts have a --help and --version option # enforce that all scripts have a --help and --version option
AUTOMAKE_OPTIONS = std-options AUTOMAKE_OPTIONS = std-options
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = makepkg-wrapper AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = \
makepkg-wrapper \
pacman-db-upgrade-wrapper \
pacman-key-wrapper \
pkgdelta-wrapper
SUBDIRS = po SUBDIRS = po
@ -48,11 +52,6 @@ LIBMAKEPKGDIRS = \
tidy \ tidy \
util util
LIBMAKEPKG = \
libmakepkg/util/message.sh \
libmakepkg/util/option.sh \
libmakepkg/util/util.sh
LIBMAKEPKG_IN = \ LIBMAKEPKG_IN = \
libmakepkg/lint_package.sh \ libmakepkg/lint_package.sh \
libmakepkg/lint_package/build_references.sh \ libmakepkg/lint_package/build_references.sh \
@ -93,11 +92,13 @@ LIBMAKEPKG_IN = \
libmakepkg/tidy/upx.sh \ libmakepkg/tidy/upx.sh \
libmakepkg/tidy/zipman.sh \ libmakepkg/tidy/zipman.sh \
libmakepkg/util.sh \ libmakepkg/util.sh \
libmakepkg/util/message.sh \
libmakepkg/util/option.sh \
libmakepkg/util/pkgbuild.sh \ libmakepkg/util/pkgbuild.sh \
libmakepkg/util/source.sh libmakepkg/util/source.sh \
libmakepkg/util/util.sh
LIBMAKEPKG_DIST = \ LIBMAKEPKG_DIST = \
$(LIBMAKEPKG) \
$(addsuffix .in, $(LIBMAKEPKG_IN)) $(addsuffix .in, $(LIBMAKEPKG_IN))
COMPLETION_IN = \ COMPLETION_IN = \

View file

@ -46,7 +46,7 @@ scripts/libmakepkg/tidy/staticlibs.sh.in
scripts/libmakepkg/tidy/strip.sh.in scripts/libmakepkg/tidy/strip.sh.in
scripts/libmakepkg/tidy/upx.sh.in scripts/libmakepkg/tidy/upx.sh.in
scripts/libmakepkg/tidy/zipman.sh.in scripts/libmakepkg/tidy/zipman.sh.in
scripts/libmakepkg/util/message.sh scripts/libmakepkg/util/message.sh.in
scripts/libmakepkg/util/source.sh.in scripts/libmakepkg/util/source.sh.in
scripts/library/output_format.sh scripts/library/output_format.sh
scripts/library/parseopts.sh scripts/library/parseopts.sh