makepkg: use printf when writing pkginfo
[pacman-ng.git] / Makefile.am
blobf70192e99cfeee02b26e16d683be3023e3a723bb
1 SUBDIRS = lib/libalpm src/util src/pacman scripts etc po test/pacman test/util contrib
2 if WANT_DOC
3 SUBDIRS += doc
4 endif
6 # Make sure we test and build manpages when doing distcheck
7 DISTCHECK_CONFIGURE_FLAGS = --enable-doc --disable-git-version
9 # Some files automatically included, so they aren't specified below:
10 #   AUTHORS, COPYING, NEWS, README
11 EXTRA_DIST = HACKING
13 # Sample makepkg prototype files
14 pkgdatadir = ${datadir}/${PACKAGE}
15 dist_pkgdata_DATA = PKGBUILD.proto PKGBUILD-split.proto proto.install ChangeLog.proto
17 # run the pactest test suite and vercmp tests
18 check-local: test/pacman test/util src/pacman src/util
19         $(PYTHON) $(top_srcdir)/test/pacman/pactest.py --debug=1 \
20                 --test $(top_srcdir)/test/pacman/tests/*.py \
21                 -p $(top_builddir)/src/pacman/pacman
22         rm -rf $(top_builddir)/root
23         $(SH) $(top_srcdir)/test/util/vercmptest.sh \
24                 $(top_builddir)/src/util/vercmp
26 # create the pacman DB and cache directories upon install
27 install-data-local:
28         for dir in "$(DESTDIR)$(localstatedir)/lib/pacman" "$(DESTDIR)$(localstatedir)/cache/pacman/pkg"; do \
29           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
30         done
32 # vim:set ts=2 sw=2 noet: