Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hutchinson <mhutchinson@novell.com>2009-11-10 00:34:27 +0300
committerMichael Hutchinson <mhutchinson@novell.com>2009-11-10 00:34:27 +0300
commit0479f1bea63d8ab143d55515e0de0f4b644b183a (patch)
tree9f51ea35ba26141f71e0a722ecd9670f699066cc /main/Makefile.am
parent335bd00a421c080840cb20e383601d7f588bea40 (diff)
* Makefile.am: Fix deps for vcrevision file.
svn path=/trunk/monodevelop/; revision=145775
Diffstat (limited to 'main/Makefile.am')
-rw-r--r--main/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/Makefile.am b/main/Makefile.am
index d5c441c20d..9fff20e0d7 100644
--- a/main/Makefile.am
+++ b/main/Makefile.am
@@ -6,7 +6,7 @@ buildinfo = $(top_builddir)/build/bin/buildinfo
all:
-gen-vcrevision:
+vcrevision:
@if test -d ./.svn; then \
version=$$( \
LANG=C; export LANG; \
@@ -21,10 +21,12 @@ gen-vcrevision:
fi; \
echo "SVN revision: $$version" > "vcrevision"; \
else \
- echo "0" > "vcrevision"; \
+ if test ! -f ./vcrevision; then \
+ echo "SVN revision: unknown" > "vcrevision"; \
+ fi; \
fi
-$(buildinfo): gen-vcrevision
+$(buildinfo): vcrevision
@mkdir -p "$(top_builddir)/build/bin"
@cp "$(top_srcdir)/vcrevision" "$@"
@echo "Build date: $$(date -u +'%Y-%m-%d %H:%M:%S%z')" >> "$@"
@@ -158,4 +160,4 @@ distuninstallcheck_listfiles += $(filter_stale_uninstalled) # amend by required
distcleancheck_listfiles = find . -type f -print # automake-1.9 setting
distcleancheck_listfiles += $(filter_stale_buildfiles) # amend by required filtering
-.PHONY: gen-vcrevision
+.PHONY: vcrevision