2007-12-21 21:47:18 -08:00
|
|
|
SUBDIRS = lib/libalpm src/util src/pacman scripts etc po pactest contrib
|
|
|
|
if WANT_DOC
|
|
|
|
SUBDIRS += doc
|
|
|
|
endif
|
2006-10-15 13:46:33 -07:00
|
|
|
|
2007-02-21 20:36:02 -08:00
|
|
|
# Some files automatically included, so they aren't specified below:
|
|
|
|
# AUTHORS, COPYING, NEWS, README
|
|
|
|
EXTRA_DIST = HACKING
|
2006-10-15 12:38:02 -07:00
|
|
|
|
2008-01-06 08:23:49 -08:00
|
|
|
# Sample makepkg prototype files
|
|
|
|
pkgdatadir = ${datadir}/${PACKAGE}
|
2008-02-05 06:42:25 -08:00
|
|
|
dist_pkgdata_DATA = PKGBUILD.proto proto.install ChangeLog.proto
|
2008-01-06 08:23:49 -08:00
|
|
|
|
2007-07-10 11:58:45 -07:00
|
|
|
# run the pactest test suite
|
2007-02-22 13:34:51 -08:00
|
|
|
check-local: src/pacman
|
2007-10-29 22:20:18 -07:00
|
|
|
$(PYTHON) $(top_srcdir)/pactest/pactest.py --debug=1 \
|
2007-03-23 21:18:17 -07:00
|
|
|
--test $(top_srcdir)/pactest/tests/*.py \
|
|
|
|
-p $(top_builddir)/src/pacman/pacman
|
2007-02-22 13:34:51 -08:00
|
|
|
rm -rf $(top_builddir)/root
|
|
|
|
|
2007-07-10 11:58:45 -07: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 14:49:09 -07:00
|
|
|
# vim:set ts=2 sw=2 noet:
|