# -*- mode: makefile; coding: utf-8 -*- # Copyright © 2003 Colin Walters ## arch-tag: Automake rules for toplevel tla-pqm directory AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 foreign SUBDIRS = tests PYTHONPATH:=$(shell pwd):$(shell pwd)/bzr:$(shell pwd)/bzrtools:$(shell pwd)/cm/lib:$(shell pwd)/pybaz docdir = $(prefix)/share/doc/@PACKAGE@ bin_SCRIPTS=bin/pqm bin_SCRIPTS+=bin/pqm-submit-merge regulardocs_DATA = sample-pqm.conf regulardocsdir = $(docdir) if BUILD_DOCS all-local: manual.html install-data-hook: $(INSTALL) manual.html $(docdir) else install-data-hook: true endif manual.html: $(srcdir)/manual.xml $(XMLTO) xhtml-nochunks $< clean-local: rm -f manual.html check-local: PYTHONPATH=$(PYTHONPATH) trial -v pqm.tests pqm.ui.tests EXTRA_DIST = autogen.sh $(regulardocs_DATA) manual.xml $(bin_SCRIPTS)