1 SUBDIRS = lib/libalpm src/util src/pacman scripts etc test/pacman test/util
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/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
35 # create the pacman DB and cache directories upon install
37 for dir in "$(DESTDIR)$(localstatedir)/lib/pacman" "$(DESTDIR)$(localstatedir)/cache/pacman/pkg"; do \
38 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
42 $(MAKE) -C lib/libalpm/po update-po
43 $(MAKE) -C scripts/po update-po
44 $(MAKE) -C src/pacman/po update-po
46 # vim:set ts=2 sw=2 noet: