mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
r13139@catbus: nickm | 2007-06-01 14:02:40 -0400
Add some ;trues, and tabify. svn:r10441
This commit is contained in:
parent
6df38f52db
commit
7c3f418e39
@ -39,11 +39,11 @@ noinst_HEADERS = or.h eventdns.h eventdns_tor.h micro-revision.i
|
||||
tor_main.o: micro-revision.i
|
||||
|
||||
micro-revision.i: FORCE
|
||||
@if test -d ../../.svn && test -x "`which svn 2>&1`" ; then \
|
||||
@if test -d ../../.svn && test -x "`which svn 2>&1;true`" ; then \
|
||||
svn info ../.. | \
|
||||
sed -n 's/^Revision: \([0-9][0-9]*\).*/"\1"/p' > micro-revision.tmp \
|
||||
|| true; \
|
||||
elif test -x "`which svk 2>&1`" && test -d ~/.svk/local; then \
|
||||
elif test -x "`which svk 2>&1;true`" && test -d ~/.svk/local; then \
|
||||
location=../..; \
|
||||
rev=x; \
|
||||
while test x$$rev = xx; do \
|
||||
@ -73,7 +73,7 @@ micro-revision.i: FORCE
|
||||
elif test ! -f micro-revision.i || \
|
||||
test x"`cat micro-revision.tmp`" != x"`cat micro-revision.i`"; then \
|
||||
mv micro-revision.tmp micro-revision.i; \
|
||||
fi
|
||||
fi; true
|
||||
|
||||
#Dummy target to ensure that micro-revision.i _always_ gets built.
|
||||
FORCE:
|
||||
|
Loading…
Reference in New Issue
Block a user