New alpm_version function
[pacman-ng.git] / Makefile.am
blobdc0854290c29d86684b38d9de62f0e8c1891ad31
1 SUBDIRS = lib/libalpm src/util src/pacman scripts etc po pactest contrib
2 if WANT_DOC
3 SUBDIRS += doc
4 endif
6 # Some files automatically included, so they aren't specified below:
7 #   AUTHORS, COPYING, NEWS, README
8 EXTRA_DIST = HACKING
10 # Sample makepkg prototype files
11 pkgdatadir = ${datadir}/${PACKAGE}
12 dist_pkgdata_DATA = PKGBUILD.proto proto.install ChangeLog.proto
14 # run the pactest test suite
15 check-local:  src/pacman
16         $(PYTHON) $(top_srcdir)/pactest/pactest.py --debug=1 \
17                 --test $(top_srcdir)/pactest/tests/*.py \
18                 -p $(top_builddir)/src/pacman/pacman
19         rm -rf $(top_builddir)/root
21 # create the pacman DB and cache directories upon install
22 install-data-local:
23         for dir in "$(DESTDIR)$(localstatedir)/lib/pacman" "$(DESTDIR)$(localstatedir)/cache/pacman/pkg"; do \
24           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
25         done
27 # vim:set ts=2 sw=2 noet: