boinc/py/Makefile.am

32 lines
742 B
Makefile
Raw Normal View History

## -*- mode: makefile; tab-width: 4 -*-
## $Id$
include $(top_srcdir)/Makefile.incl
EXTRA_DIST = db_def_to_py \
Boinc/__init__.py \
Boinc/add_util.py \
Boinc/boinc_db.py \
Boinc/boinc_project_path.py \
Boinc/boincxml.py \
Boinc/configxml.py \
Boinc/database.py \
Boinc/db_base.py \
Boinc/db_mid.py \
Boinc/projectxml.py \
Boinc/sched_messages.py \
Boinc/setup_project.py \
Boinc/tools.py \
Boinc/util.py
$(srcdir)/Boinc/boinc_db.py: $(top_srcdir)/db/boinc_db.h $(top_srcdir)/lib/common_defs.h
cat $^ | $(top_srcdir)/py/db_def_to_py > $@
# all: $(srcdir)/Boinc/boinc_db.py
all-local:
python setup.py build --build-base=$(top_builddir)/py
install-exec-local:
python setup.py install --prefix=$(prefix) --root=$(DESTDIR)