SUBDIRS = lib/libalpm src/util src/pacman scripts doc doc/hu etc 

if HAS_PERL
SUBDIRS += bindings/perl
endif
if HAS_PYTHON
SUBDIRS += bindings/python
endif
if HAS_JAVA
SUBDIRS += bindings/java
endif

EXTRA_DIST =		\
	ChangeLog  	\
	COPYING		\
	README 		\
	TODO 		\
	TODO.autoconf

check: src/pacman
	cd pactest; python pactest.py --test=tests/*.py -p ../src/pacman/pacman --debug=-1

tags:
	ctags -a lib/libalpm/*.[ch]
	ctags -a src/pacman/*.[ch]