updates to try and resync make dist to include current files
This commit is contained in:
parent
3b568e965d
commit
8e3b6b0b95
6 changed files with 38 additions and 18 deletions
|
@ -58,9 +58,23 @@ clean-local:
|
||||||
# because we include entire directories with EXTRA_DIST, we need to clean up
|
# because we include entire directories with EXTRA_DIST, we need to clean up
|
||||||
# the source control files
|
# the source control files
|
||||||
dist-hook:
|
dist-hook:
|
||||||
rm -rf `find $(distdir)/ -name '*.pyc'`
|
-rm -rf `find $(distdir)/ -name '*.pyc'`
|
||||||
|
|
||||||
DISTCLEANFILES = Makefile.in core/*.pyc MANIFEST
|
distclean-local:
|
||||||
|
-rm -rf core.egg-info
|
||||||
|
|
||||||
|
|
||||||
|
DISTCLEANFILES = Makefile.in
|
||||||
|
|
||||||
# files to include with distribution tarball
|
# files to include with distribution tarball
|
||||||
EXTRA_DIST = $(SETUPPY) core doc $(LOGROTATE_FILE)
|
EXTRA_DIST = $(SETUPPY) \
|
||||||
|
core \
|
||||||
|
data \
|
||||||
|
doc/conf.py.in \
|
||||||
|
examples \
|
||||||
|
sbin \
|
||||||
|
tests \
|
||||||
|
test.py \
|
||||||
|
setup.cfg \
|
||||||
|
requirements.txt \
|
||||||
|
$(LOGROTATE_FILE)
|
||||||
|
|
|
@ -13,9 +13,9 @@ SUBDIRS = man figures
|
||||||
# extra cruft to remove
|
# extra cruft to remove
|
||||||
DISTCLEANFILES = Makefile.in stamp-vti
|
DISTCLEANFILES = Makefile.in stamp-vti
|
||||||
|
|
||||||
rst_files = conf.py constants.txt credits.rst ctrlnet.rst devguide.rst \
|
rst_files = conf.py.in constants.txt credits.rst ctrlnet.rst devguide.rst \
|
||||||
emane.rst index.rst install.rst intro.rst machine.rst \
|
emane.rst index.rst install.rst intro.rst machine.rst \
|
||||||
ns3.rst performance.rst scripting.rst usage.rst
|
ns3.rst performance.rst scripting.rst usage.rst requirements.txt
|
||||||
|
|
||||||
EXTRA_DIST = $(rst_files)
|
EXTRA_DIST = $(rst_files)
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,12 @@ dist_coreaddons_DATA = $(ADDONS_FILES)
|
||||||
coreconfigsdir = $(datadir)/core/examples/configs
|
coreconfigsdir = $(datadir)/core/examples/configs
|
||||||
dist_coreconfigs_DATA = $(CONFIG_FILES)
|
dist_coreconfigs_DATA = $(CONFIG_FILES)
|
||||||
|
|
||||||
|
# remove generated file from dist
|
||||||
|
dist-hook:
|
||||||
|
-rm -f $(distdir)/version.tcl
|
||||||
|
|
||||||
# extra cruft to remove
|
# extra cruft to remove
|
||||||
DISTCLEANFILES = Makefile.in
|
DISTCLEANFILES = Makefile.in
|
||||||
|
|
||||||
# files to include in source tarball not included elsewhere
|
# files to include in source tarball not included elsewhere
|
||||||
EXTRA_DIST = addons
|
EXTRA_DIST = core-gui.in
|
||||||
|
|
|
@ -57,6 +57,9 @@ clean-local: clean-local-check
|
||||||
clean-local-check:
|
clean-local-check:
|
||||||
-rm -rf build
|
-rm -rf build
|
||||||
|
|
||||||
|
distclean-local:
|
||||||
|
-rm -rf core_netns.egg-info
|
||||||
|
|
||||||
# extra cruft to remove
|
# extra cruft to remove
|
||||||
DISTCLEANFILES = Makefile.in MANIFEST
|
DISTCLEANFILES = Makefile.in MANIFEST
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,6 @@
|
||||||
SETUPPY = setup.py
|
SETUPPY = setup.py
|
||||||
SETUPPYFLAGS = -v
|
SETUPPYFLAGS = -v
|
||||||
|
|
||||||
#EXAMPLE_FILES := $(wildcard examples/*)
|
|
||||||
#coreexampledir = $(datadir)/core/examples/corens3
|
|
||||||
#dist_coreexample_SCRIPTS = $(EXAMPLE_FILES)
|
|
||||||
|
|
||||||
# Python package build
|
# Python package build
|
||||||
noinst_SCRIPTS = build
|
noinst_SCRIPTS = build
|
||||||
build:
|
build:
|
||||||
|
@ -30,10 +26,10 @@ install-exec-hook:
|
||||||
|
|
||||||
# Python package uninstall
|
# Python package uninstall
|
||||||
uninstall-hook:
|
uninstall-hook:
|
||||||
rm -rf core_ns3.egg-info
|
-rm -rf core_ns3.egg-info
|
||||||
rm -rf $(DESTDIR)/$(pythondir)/core_ns3-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg-info
|
-rm -rf $(DESTDIR)/$(pythondir)/core_ns3-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg-info
|
||||||
rm -rf $(DESTDIR)/$(pythondir)/corens3
|
-rm -rf $(DESTDIR)/$(pythondir)/corens3
|
||||||
rm -rf $(DESTDIR)/$(datadir)/corens3
|
-rm -rf $(DESTDIR)/$(datadir)/corens3
|
||||||
|
|
||||||
# Python package cleanup
|
# Python package cleanup
|
||||||
clean-local:
|
clean-local:
|
||||||
|
@ -42,9 +38,12 @@ clean-local:
|
||||||
# because we include entire directories with EXTRA_DIST, we need to clean up
|
# because we include entire directories with EXTRA_DIST, we need to clean up
|
||||||
# the source control files
|
# the source control files
|
||||||
dist-hook:
|
dist-hook:
|
||||||
rm -rf `find $(distdir)/ -name '*.pyc'`
|
-rm -rf `find $(distdir)/ -name '*.pyc'`
|
||||||
|
|
||||||
DISTCLEANFILES = Makefile.in *.pyc corens3/*.pyc MANIFEST
|
distclean-local:
|
||||||
|
-rm -rf core_ns3.egg-info
|
||||||
|
|
||||||
|
DISTCLEANFILES = Makefile.in
|
||||||
|
|
||||||
# files to include with distribution tarball
|
# files to include with distribution tarball
|
||||||
EXTRA_DIST = LICENSE $(SETUPPY) corens3
|
EXTRA_DIST = LICENSE $(SETUPPY) corens3 examples
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
CLEANFILES = core-daemon
|
CLEANFILES = core-daemon
|
||||||
|
|
||||||
DISTCLEANFILES = Makefile.in
|
DISTCLEANFILES = Makefile.in core-daemon.service
|
||||||
|
|
||||||
EXTRA_DIST = core-daemon-init.d \
|
EXTRA_DIST = core-daemon-init.d \
|
||||||
core-daemon.service.in \
|
core-daemon.service.in \
|
||||||
|
|
Loading…
Reference in a new issue