]>
Commit | Line | Data |
---|---|---|
8679cd68 | 1 | SUBDIRS = lib/libalpm src/util src/pacman scripts etc test/pacman test/util test/scripts |
26c05b1c DM |
2 | if WANT_DOC |
3 | SUBDIRS += doc | |
4 | endif | |
e037328e | 5 | |
27d9c25e | 6 | DIST_SUBDIRS = $(SUBDIRS) contrib src/common |
cd75ae46 | 7 | |
f489e969 | 8 | ACLOCAL_AMFLAGS = -I m4 --install |
d2ce93bc | 9 | AM_MAKEFLAGS = --no-print-directory |
f489e969 | 10 | |
d7e502a4 DM |
11 | # Make sure we test and build manpages when doing distcheck |
12 | DISTCHECK_CONFIGURE_FLAGS = --enable-doc --disable-git-version | |
13 | ||
3595201f DM |
14 | # Some files automatically included, so they aren't specified below: |
15 | # AUTHORS, COPYING, NEWS, README | |
3595201f | 16 | EXTRA_DIST = HACKING |
94810222 | 17 | |
d53388fb DM |
18 | # Sample makepkg prototype files |
19 | pkgdatadir = ${datadir}/${PACKAGE} | |
6633b8e5 DR |
20 | dist_pkgdata_DATA = \ |
21 | proto/PKGBUILD.proto \ | |
22 | proto/PKGBUILD-split.proto \ | |
23 | proto/proto.install \ | |
24 | proto/ChangeLog.proto | |
d53388fb | 25 | |
403c175d AG |
26 | TESTS = test/scripts/parseopts_test.sh \ |
27 | test/scripts/human_to_size_test.sh \ | |
28 | test/util/pacsorttest.sh \ | |
29 | test/util/vercmptest.sh | |
30 | include $(top_srcdir)/test/pacman/tests/TESTS | |
31 | ||
32 | TEST_EXTENSIONS = .py | |
33 | AM_TESTS_ENVIRONMENT = \ | |
34 | PMTEST_UTIL_DIR=$(top_srcdir)/src/util/; export PMTEST_UTIL_DIR; \ | |
35 | PMTEST_SCRIPTLIB_DIR=$(top_srcdir)/scripts/library/; export PMTEST_SCRIPTLIB_DIR; | |
36 | TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ | |
37 | $(top_srcdir)/build-aux/tap-driver.sh | |
38 | PY_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ | |
39 | $(top_srcdir)/build-aux/tap-driver.sh | |
40 | PY_LOG_COMPILER = test/pacman/pactest.py | |
41 | AM_PY_LOG_FLAGS = \ | |
801f7d10 | 42 | --scriptlet-shell $(SCRIPTLET_SHELL) \ |
89ecf8ca | 43 | --ldconfig $(LDCONFIG) \ |
403c175d | 44 | -p $(top_builddir)/src/pacman/pacman |
332c1271 | 45 | |
64e45a36 DM |
46 | # create the pacman DB and cache directories upon install |
47 | install-data-local: | |
48 | for dir in "$(DESTDIR)$(localstatedir)/lib/pacman" "$(DESTDIR)$(localstatedir)/cache/pacman/pkg"; do \ | |
49 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
50 | done | |
51 | ||
2df519f8 DM |
52 | update-po: |
53 | $(MAKE) -C lib/libalpm/po update-po | |
54 | $(MAKE) -C scripts/po update-po | |
55 | $(MAKE) -C src/pacman/po update-po | |
56 | ||
1583a207 DM |
57 | .PHONY: test-pacman test-pacsort test-vercmp test-parseopts update-po |
58 | ||
e0afe6e9 | 59 | # vim:set ts=2 sw=2 noet: |