1 SUBDIRS = lib/libalpm src/util src/pacman scripts etc po pactest 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: pactest src/pacman src/util
19 $(PYTHON) $(top_srcdir)/pactest/pactest.py --debug=1 \
20 --test $(top_srcdir)/pactest/tests/*.py \
21 -p $(top_builddir)/src/pacman/pacman
22 rm -rf $(top_builddir)/root
23 $(SH) $(top_srcdir)/pactest/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: