1 SUBDIRS = lib/libalpm src/util src/pacman scripts etc test/pacman test/util test/scripts
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
17 # Sample makepkg prototype files
18 pkgdatadir = ${datadir}/${PACKAGE}
20 proto/PKGBUILD.proto \
21 proto/PKGBUILD-split.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
39 for dir in "$(DESTDIR)$(localstatedir)/lib/pacman" "$(DESTDIR)$(localstatedir)/cache/pacman/pkg"; do \
40 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
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: