PING: Copy CACAO's .hg repo as well with --with-cacao-src-dir
Stefan Ring
stefan at complang.tuwien.ac.at
Thu Apr 5 13:11:31 PDT 2012
I've posted this a while ago:
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017630.html
diff -r 54ceda20a02c Makefile.am
--- a/Makefile.am Mon Feb 27 14:40:52 2012 +0100
+++ b/Makefile.am Sat Mar 10 23:19:19 2012 +0100
@@ -997,8 +997,8 @@
set -e ; \
if ! test -d cacao ; \
then \
- mkdir -p cacao/cacao ; \
- cp -r $(ALT_CACAO_SRC_DIR)/* cacao/cacao/ ; \
+ mkdir cacao ; \
+ cp -rL $(ALT_CACAO_SRC_DIR) cacao/cacao ; \
fi
else
set -e ; \
The purpose is so that java -version is able to display version
information about CACAO as well, like this:
https://bitbucket.org/Ringdingcoder/cacao-dev/changeset/75b2b23e443c#comments
Because Mark asked about it in IRC, I added -L (--dereference) so it
works also if ALT_CACAO_SRC_DIR is a symlink. Since it works fine in
this case with the current version, I didn't want to break this
possibility.
Regards,
Stefan
More information about the distro-pkg-dev
mailing list