diff options
author | Uri Lublin <uril@redhat.com> | 2010-01-03 19:31:29 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2010-01-10 19:46:19 +0200 |
commit | ecc4e7d2cf9744acb18ab906348c98c89dcf5a13 (patch) | |
tree | 7a129c40d1bd5d95e93255ca42f1cc25001302a6 /common | |
parent | 82a73df97ffc5e9a937bfe3530cceee4f3ea6441 (diff) | |
download | spice-ecc4e7d2cf9744acb18ab906348c98c89dcf5a13.tar.gz spice-ecc4e7d2cf9744acb18ab906348c98c89dcf5a13.tar.xz spice-ecc4e7d2cf9744acb18ab906348c98c89dcf5a13.zip |
spice: subdirs: support ./autogen.sh in a "make dist" tarball (subdir config)
Each subdir (common, client and server) can "make dist".
This commit adds configure.ac.shared and autogen.sh to the tar file.
Above files are copied from .. (spice/ directory)
Also added configure.ac.shared (which is not part of "distribution" tarball)
that only imports ../configure.ac.shared such that ./autogen.sh still
works (on "git directories").
Signed-off-by: Uri Lublin <uril@redhat.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/Makefile.am | 3 | ||||
-rw-r--r-- | common/configure.ac | 2 | ||||
-rw-r--r-- | common/configure.ac.shared | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index c1a55f15..8f96366b 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -57,3 +57,6 @@ linux_includedir=$(common_srcdir)/linux linux_include_DATA=linux/ffmpeg_inc.h DISTCLEANFILES = spice-common.pc linux/ffmpeg_inc.h + +dist-hook: + cp -p -f ../autogen.sh ../configure.ac.shared $(distdir) diff --git a/common/configure.ac b/common/configure.ac index 76318e65..b2d7e22e 100644 --- a/common/configure.ac +++ b/common/configure.ac @@ -8,7 +8,7 @@ AC_INIT(spice-common, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice-common) AC_CONFIG_MACRO_DIR([m4]) -m4_include(../configure.ac.shared) +m4_include(configure.ac.shared) AC_CONFIG_FILES([Makefile linux/ffmpeg_inc.h spice-common.pc]) AC_OUTPUT diff --git a/common/configure.ac.shared b/common/configure.ac.shared new file mode 100644 index 00000000..4c292cb9 --- /dev/null +++ b/common/configure.ac.shared @@ -0,0 +1 @@ +m4_include(../configure.ac.shared) |