2007-12-22 00:47:18 -05:00
|
|
|
SUBDIRS = lib/libalpm src/util src/pacman scripts etc po pactest contrib
|
|
|
|
if WANT_DOC
|
|
|
|
SUBDIRS += doc
|
|
|
|
endif
|
2006-10-15 16:46:33 -04:00
|
|
|
|
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
|
|
|
|
check-local: pactest src/pacman src/util
|
2007-10-30 01:20:18 -04:00
|
|
|
$(PYTHON) $(top_srcdir)/pactest/pactest.py --debug=1 \
|
2007-03-24 00:18:17 -04:00
|
|
|
--test $(top_srcdir)/pactest/tests/*.py \
|
|
|
|
-p $(top_builddir)/src/pacman/pacman
|
2007-02-22 16:34:51 -05:00
|
|
|
rm -rf $(top_builddir)/root
|
2008-05-29 18:25:37 -04:00
|
|
|
$(SH) $(top_srcdir)/pactest/vercmptest.sh \
|
|
|
|
$(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:
|