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
|
|
|
|
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}
|
2008-02-05 09:42:25 -05:00
|
|
|
dist_pkgdata_DATA = PKGBUILD.proto proto.install ChangeLog.proto
|
2008-01-06 11:23:49 -05:00
|
|
|
|
2007-07-10 14:58:45 -04:00
|
|
|
# run the pactest test suite
|
2007-02-22 16:34:51 -05:00
|
|
|
check-local: src/pacman
|
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
|
|
|
|
|
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:
|