2010-06-16 22:00:39 -04:00
|
|
|
SUBDIRS = lib/libalpm src/util src/pacman scripts etc po test/pacman test/util contrib
|
2007-12-22 00:47:18 -05:00
|
|
|
if WANT_DOC
|
|
|
|
SUBDIRS += doc
|
|
|
|
endif
|
2006-10-15 16:46:33 -04:00
|
|
|
|
2010-09-23 10:10:47 -04:00
|
|
|
ACLOCAL_AMFLAGS = -I m4 --install
|
|
|
|
|
2008-08-05 22:03:59 -04:00
|
|
|
# Make sure we test and build manpages when doing distcheck
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --enable-doc --disable-git-version
|
|
|
|
|
2007-02-21 23:36:02 -05:00
|
|
|
# Some files automatically included, so they aren't specified below:
|
|
|
|
# AUTHORS, COPYING, NEWS, README
|
|
|
|
EXTRA_DIST = HACKING
|
2006-10-15 15:38:02 -04:00
|
|
|
|
2008-01-06 11:23:49 -05:00
|
|
|
# Sample makepkg prototype files
|
|
|
|
pkgdatadir = ${datadir}/${PACKAGE}
|
2009-01-16 07:16:18 -05:00
|
|
|
dist_pkgdata_DATA = PKGBUILD.proto PKGBUILD-split.proto proto.install ChangeLog.proto
|
2008-01-06 11:23:49 -05:00
|
|
|
|
2008-05-29 18:25:37 -04:00
|
|
|
# run the pactest test suite and vercmp tests
|
2010-06-02 14:24:22 -04:00
|
|
|
check-local: test/pacman test/util src/pacman src/util
|
2010-05-30 00:41:59 -04:00
|
|
|
$(PYTHON) $(top_srcdir)/test/pacman/pactest.py --debug=1 \
|
|
|
|
--test $(top_srcdir)/test/pacman/tests/*.py \
|
2007-03-24 00:18:17 -04:00
|
|
|
-p $(top_builddir)/src/pacman/pacman
|
2007-02-22 16:34:51 -05:00
|
|
|
rm -rf $(top_builddir)/root
|
2010-06-02 14:24:22 -04:00
|
|
|
$(SH) $(top_srcdir)/test/util/vercmptest.sh \
|
2008-05-29 18:25:37 -04:00
|
|
|
$(top_builddir)/src/util/vercmp
|
2007-02-22 16:34:51 -05:00
|
|
|
|
2007-07-10 14:58:45 -04:00
|
|
|
# create the pacman DB and cache directories upon install
|
|
|
|
install-data-local:
|
|
|
|
for dir in "$(DESTDIR)$(localstatedir)/lib/pacman" "$(DESTDIR)$(localstatedir)/cache/pacman/pkg"; do \
|
|
|
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
|
|
|
done
|
|
|
|
|
2007-06-04 17:49:09 -04:00
|
|
|
# vim:set ts=2 sw=2 noet:
|