pacman-key: allow verification of multiple sig files
[pacman-ng.git] / Makefile.am
blobe08b809b69023aecf3e0951cdd1e5d8de39611f6
1 SUBDIRS = lib/libalpm src/util src/pacman scripts etc test/pacman test/util test/scripts
2 if WANT_DOC
3 SUBDIRS += doc
4 endif
6 DIST_SUBDIRS = $(SUBDIRS) contrib
8 ACLOCAL_AMFLAGS = -I m4 --install
10 # Make sure we test and build manpages when doing distcheck
11 DISTCHECK_CONFIGURE_FLAGS = --enable-doc --disable-git-version
13 # Some files automatically included, so they aren't specified below:
14 #   AUTHORS, COPYING, NEWS, README
15 EXTRA_DIST = HACKING
17 # Sample makepkg prototype files
18 pkgdatadir = ${datadir}/${PACKAGE}
19 dist_pkgdata_DATA = \
20         proto/PKGBUILD.proto \
21         proto/PKGBUILD-split.proto \
22         proto/proto.install \
23         proto/ChangeLog.proto
25 # run the pactest test suite and vercmp tests
26 check-local: test/pacman test/scripts test/util src/pacman src/util
27         LC_ALL=C $(PYTHON) $(top_srcdir)/test/pacman/pactest.py --debug=1 \
28                 --test $(top_srcdir)/test/pacman/tests/*.py \
29                 -p $(top_builddir)/src/pacman/pacman
30         $(SH) $(top_srcdir)/test/util/pacsorttest.sh \
31                 $(top_builddir)/src/util/pacsort
32         $(SH) $(top_srcdir)/test/util/vercmptest.sh \
33                 $(top_builddir)/src/util/vercmp
34         $(BASH_SHELL) $(top_srcdir)/test/scripts/parseopts_test.sh \
35                 $(top_srcdir)/scripts/library/parseopts.sh
37 # create the pacman DB and cache directories upon install
38 install-data-local:
39         for dir in "$(DESTDIR)$(localstatedir)/lib/pacman" "$(DESTDIR)$(localstatedir)/cache/pacman/pkg"; do \
40           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
41         done
43 update-po:
44         $(MAKE) -C lib/libalpm/po update-po
45         $(MAKE) -C scripts/po update-po
46         $(MAKE) -C src/pacman/po update-po
48 # vim:set ts=2 sw=2 noet: