2 # :vim: filetype=make : -*- makefile; coding: utf-8; -*-
5 # Part of Bugs Everywhere, a distributed bug tracking system.
7 # Copyright © 2008 Ben Finney <ben+python@benfinney.id.au>
8 # This is free software; you may copy, modify and/or distribute this work
9 # under the terms of the GNU General Public License, version 2 or later.
10 # No warranty expressed or implied. See the file COPYING for details.
12 # Makefile for Bugs Everywhere project
17 # Directories with semantic meaning
20 # Variables that will be extended by module include files
21 GENERATED_FILES := libbe/_version.py build
25 # List of modules (directories) that comprise our 'make' project
31 INSTALL_OPTIONS = "--prefix=${PREFIX}"
37 # Include the make data for each module
38 include $(patsubst %,%/module.mk,${MODULES})
42 build: libbe/_version.py
47 python setup.py install ${INSTALL_OPTIONS}
48 cp -v xml/* ${PREFIX}/bin
53 $(RM) -rf ${GENERATED_FILES}
56 bzr version-info --format python > $@