2013-08-29 15:21:13 +01:00
|
|
|
# CORE
|
|
|
|
#
|
|
|
|
# Makefile for building netns components.
|
|
|
|
#
|
|
|
|
|
2018-01-15 10:20:11 +00:00
|
|
|
if WANT_DOCS
|
2019-06-10 19:41:27 +01:00
|
|
|
DOCS = doc
|
|
|
|
endif
|
|
|
|
|
2019-03-26 15:58:29 +00:00
|
|
|
SUBDIRS = proto $(DOCS)
|
|
|
|
|
2013-08-29 15:21:13 +01:00
|
|
|
# because we include entire directories with EXTRA_DIST, we need to clean up
|
|
|
|
# the source control files
|
|
|
|
dist-hook:
|
2018-03-14 17:43:25 +00:00
|
|
|
-rm -rf `find $(distdir)/ -name '*.pyc'`
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2018-03-14 17:43:25 +00:00
|
|
|
distclean-local:
|
|
|
|
-rm -rf core.egg-info
|
2018-03-23 16:57:37 +00:00
|
|
|
|
2018-03-14 17:43:25 +00:00
|
|
|
DISTCLEANFILES = Makefile.in
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
# files to include with distribution tarball
|
2020-07-14 20:33:13 +01:00
|
|
|
EXTRA_DIST = core \
|
2018-03-14 17:43:25 +00:00
|
|
|
doc/conf.py.in \
|
|
|
|
tests \
|
|
|
|
setup.cfg \
|
2020-07-14 20:08:05 +01:00
|
|
|
poetry.lock \
|
2020-07-14 20:33:13 +01:00
|
|
|
pyproject.toml
|