summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2010-01-07 15:26:01 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-10 19:46:45 +0200
commit236b692a78964d08287b9adc208fda9e2b0a989b (patch)
tree81d3b054f88681236ec9aa0ca4f0ce607dc30185 /common
parentcf60cddbdd3468ec49d387f1944c068bd35fca92 (diff)
downloadspice-236b692a78964d08287b9adc208fda9e2b0a989b.tar.gz
spice-236b692a78964d08287b9adc208fda9e2b0a989b.tar.xz
spice-236b692a78964d08287b9adc208fda9e2b0a989b.zip
spice: autogen.sh: call autogen.sh.shared separately from subdirs (subdir config)
Move original autogen.sh to autogen.sh.shared Create links in each subdir (subdir/autogen.sh --> ../autogem.sh.shared) Make new autogen.sh which simply 1. cd subdir && ./autogen.sh 2. run autogen.sh.shared for the current dir (spice) Update all Makefile.am accordingly (dist-hook). Signed-off-by: Yaniv Kamay <ykamay@rehdat.com> Signed-off-by: Uri Lublin <uril@redhat.com>
Diffstat (limited to 'common')
-rw-r--r--common/Makefile.am2
l---------common/autogen.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index bdff878c..0fca6046 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -56,5 +56,5 @@ common_src_DATA = $(COMMON_SRCS)
DISTCLEANFILES = spice-common.pc
dist-hook:
- cp -p -f ../autogen.sh ../configure.ac.shared $(distdir)
+ cp -p -f ./autogen.sh ../configure.ac.shared $(distdir)
diff --git a/common/autogen.sh b/common/autogen.sh
new file mode 120000
index 00000000..60bb39f2
--- /dev/null
+++ b/common/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh.shared \ No newline at end of file