summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-02-17 22:58:57 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-02-17 22:58:57 (GMT)
commitefa83fdf6e16f235efdd8d5c1aaa6edb307ff6a1 (patch)
tree596936a133ad9afb310dbd4e5926876bfc8542da /Makefile.in
parent20eeb8e122866362827acbac8665adee4c28c95c (diff)
When installing SVN snapshots, include the branch and revision in the version number.
In case some random snapshot is installed and used for production, then this will ease rewinding.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index f96546a..77da86a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -101,10 +101,10 @@ install-lib-main: install-local-test $(LIBDIR)
tar cf - --exclude=.svn $${src_dir} |(cd $(LIBDIR); tar xf -); \
done
@rm -f $(LIBDIR)/tools/addToolVersion.sh
- @for src_file in steps.mk .version; do \
- echo " INST $${src_file}"; \
- install -m 644 $${src_file} $(LIBDIR)/$${src_file}; \
- done
+ @echo " INST steps.mk"
+ @install -m 644 steps.mk $(LIBDIR)/steps.mk
+ @echo " INST .version"
+ @echo "$(VERSION)" >$(LIBDIR)/.version
# Samples need a little love:
# - change every occurrence of CT_TOP_DIR to CT_LIB_DIR