mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-10 03:25:01 -05:00
26c05b1c8c
Commit 012f793978
was a bit misguided in its
thinking, and resulted in a package built without asciidoc enabled not
installing the manpages to the system on a 'make install' operation. Fix
this behavior by making manpages required in a normal build, and in order to
disable their existence, the '--disable-doc' option must be used.
Hopefully this solves manpage issues for both developers and package
builders while allowing as much flexibility as possible.
Signed-off-by: Dan McGee <dan@archlinux.org>
24 lines
715 B
Makefile
24 lines
715 B
Makefile
SUBDIRS = lib/libalpm src/util src/pacman scripts etc po pactest contrib
|
|
if WANT_DOC
|
|
SUBDIRS += doc
|
|
endif
|
|
|
|
# Some files automatically included, so they aren't specified below:
|
|
# AUTHORS, COPYING, NEWS, README
|
|
EXTRA_DIST = HACKING
|
|
|
|
# run the pactest test suite
|
|
check-local: src/pacman
|
|
$(PYTHON) $(top_srcdir)/pactest/pactest.py --debug=1 \
|
|
--test $(top_srcdir)/pactest/tests/*.py \
|
|
-p $(top_builddir)/src/pacman/pacman
|
|
rm -rf $(top_builddir)/root
|
|
|
|
# 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
|
|
|
|
# vim:set ts=2 sw=2 noet:
|