From: Stéphane Graber Date: Tue, 26 Mar 2013 16:38:47 +0000 (-0400) Subject: EXTRA_DIST: Fix missing files with "make dist" X-Git-Tag: lxc-0.9.0~1^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c13c0e08da7dbfecb52e85233ac6cd17afa5d818;p=thirdparty%2Flxc.git EXTRA_DIST: Fix missing files with "make dist" I recently noticed that the generated tarballs with "make dist" were incomplete unless the configure script was run on a machine with all possible build dependencies. That's wrong as you clearly don't need those dependencies to generate the tarball. This change fixes that. Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn --- diff --git a/Makefile.am b/Makefile.am index 7ebef9dcb..eac2bfd32 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,13 @@ ACLOCAL_AMFLAGS = -I config SUBDIRS = config src templates doc hooks DIST_SUBDIRS = config src templates doc hooks -EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS ChangeLog +EXTRA_DIST = \ + autogen.sh \ + lxc.spec \ + CONTRIBUTING \ + MAINTAINERS \ + runapitests.sh + RPMARGS = if ENABLE_LUA diff --git a/RELEASE-NOTES b/RELEASE-NOTES deleted file mode 100644 index e69de29bb..000000000 diff --git a/doc/Makefile.am b/doc/Makefile.am index df5ad73a5..b5887123d 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -2,8 +2,7 @@ SUBDIRS = examples rootfs DIST_SUBDIRS = examples rootfs EXTRA_DIST = \ - FAQ.txt \ - $(man_MANS) + FAQ.txt if ENABLE_DOCBOOK man_MANS = \ diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 4869c02c5..66658b4f7 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -1,5 +1,3 @@ -EXTRA_DIST = $(pkgexamples_DATA) - if ENABLE_EXAMPLES pkgexamplesdir=$(docdir)/examples diff --git a/src/lua-lxc/Makefile.am b/src/lua-lxc/Makefile.am index f05eb7259..82dbae843 100644 --- a/src/lua-lxc/Makefile.am +++ b/src/lua-lxc/Makefile.am @@ -4,7 +4,6 @@ luadir=$(datadir)/lua/5.1 sodir=$(libdir)/lua/5.1/lxc lua_SCRIPTS=lxc.lua -EXTRA_DIST=lxc.lua so_PROGRAMS = core.so @@ -24,3 +23,7 @@ core_so_LDADD = -llxc $(LUA_LIBS) lxc.lua: endif + +EXTRA_DIST= \ + lxc.lua \ + test/apitest.lua diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index 0385e0d19..ebeca4663 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -126,9 +126,12 @@ bin_SCRIPTS = \ lxc-shutdown \ lxc-destroy -EXTRA_DIST= +EXTRA_DIST = \ + lxc-device \ + lxc-ls \ + lxc-top + if ENABLE_PYTHON - EXTRA_DIST += lxc-device lxc-ls bin_SCRIPTS += lxc-device bin_SCRIPTS += lxc-ls bin_SCRIPTS += lxc-start-ephemeral @@ -137,7 +140,6 @@ else endif if ENABLE_LUA - EXTRA_DIST += lxc-top bin_SCRIPTS += lxc-top endif diff --git a/src/python-lxc/Makefile.am b/src/python-lxc/Makefile.am index 52ede0701..bdb6dbdd7 100644 --- a/src/python-lxc/Makefile.am +++ b/src/python-lxc/Makefile.am @@ -1,7 +1,5 @@ if ENABLE_PYTHON -EXTRA_DIST = setup.py lxc.c - if HAVE_DEBIAN DISTSETUPOPTS=--install-layout=deb else @@ -22,3 +20,8 @@ clean: rm -rf build endif +EXTRA_DIST = \ + setup.py \ + lxc.c \ + lxc/__init__.py \ + examples/api_test.py