1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
## $Id$
include $(top_srcdir)/Makefile.am.common
if PYTHON
# XXX - nasty automake fudging here...
noinst_SCRIPTS = python-build
python-build:
$(PYTHON) setup.py build
touch python-build
python-clean:
rm -rf build dumbnet.c
clean: python-clean
distclean: clean
python-install:
$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
install-exec-local: python-install
TESTS = test.py
else
install-exec-local:
endif
EXTRA_DIST = dumbnet.pyx dumbnet.c setup.py.in test.py interfacefinder.py
DISTCLEANFILES = *~
|