gitweb rectification
[adesklets.git] / scripting / python / Makefile.am
blob69b12cdd98abab0ac132e39b3174df35810f3f1f
1 AUTOMAKE_OPTIONS = 1.5
3 DESTDIR ?= /
5 EXTRA_DIST=adesklets \
6            protoize.py pretty_printer.py posix_signal.c
8 all-am: python-compile
10 dist-hook: adesklets/commands.py
11         cp adesklets/commands.py $(distdir)/adesklets
12         find $(distdir)/adesklets -name '*.pyc' -exec rm \{\} ';'
14 if PYTHON_SUPPORT
15 adesklets/commands.py: ../prototypes ../enums
16         @PYTHON@ setup.py protoize
18 python-compile: adesklets/commands.py
19         @PYTHON@ setup.py build
20 install-data-local:
21         @PYTHON@ setup.py install --root=$(DESTDIR)
22 else
23 python-compile:
24 endif