New _alpm_dep_edge function
[pacman-ng.git] / Makefile.am
blobea3b0e075ea20e11ebb5072d7bae54f7fedc64f2
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 and vercmp tests
15 check-local: pactest src/pacman src/util
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
20         $(SH) $(top_srcdir)/pactest/vercmptest.sh \
21                 $(top_builddir)/src/util/vercmp
23 # create the pacman DB and cache directories upon install
24 install-data-local:
25         for dir in "$(DESTDIR)$(localstatedir)/lib/pacman" "$(DESTDIR)$(localstatedir)/cache/pacman/pkg"; do \
26           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
27         done
29 # vim:set ts=2 sw=2 noet: