1 SUBDIRS = lib/libalpm src/util src/pacman scripts etc po test/pacman test/util contrib
6 # Make sure we test and build manpages when doing distcheck
7 DISTCHECK_CONFIGURE_FLAGS = --enable-doc --disable-git-version
9 # Some files automatically included, so they aren't specified below:
10 # AUTHORS, COPYING, NEWS, README
13 # Sample makepkg prototype files
14 pkgdatadir = ${datadir}/${PACKAGE}
15 dist_pkgdata_DATA = PKGBUILD.proto PKGBUILD-split.proto proto.install ChangeLog.proto
17 # run the pactest test suite and vercmp tests
18 check-local: test/pacman test/util src/pacman src/util
19 $(PYTHON) $(top_srcdir)/test/pacman/pactest.py --debug=1 \
20 --test $(top_srcdir)/test/pacman/tests/*.py \
21 -p $(top_builddir)/src/pacman/pacman
22 rm -rf $(top_builddir)/root
23 $(SH) $(top_srcdir)/test/util/vercmptest.sh \
24 $(top_builddir)/src/util/vercmp
26 # create the pacman DB and cache directories upon install
28 for dir in "$(DESTDIR)$(localstatedir)/lib/pacman" "$(DESTDIR)$(localstatedir)/cache/pacman/pkg"; do \
29 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
32 # vim:set ts=2 sw=2 noet: