head	1.2;
access;
symbols
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2008.07.07.18.42.58;	author tdb;	state dead;
branches;
next	1.1;

1.1
date	2006.01.16.11.14.42;	author tdb;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Update to 1.5.r4932, revision 4932 on the kroc-1.5 stable branch.
- Build and install the documentation and examples.
- Add regression-test target to run KRoC's testsuite.
@
text
@--- ./build.orig	Sat Jan 14 17:08:23 2006
+++ ./build	Sun Jan 15 13:54:53 2006
@@@@ -1905,18 +1905,14 @@@@
 		if [ "$HAVE_CPUTIMERS_SUPPORT" != "" ]; then
 			# if we can, put kroc_clock in etc
 			CAN_WRITE_ETC=
-			if [ -w /etc ] || [ -w /etc/kroc_clock ]; then
+			if [ -w %%FAKEDIR%%/etc ] || [ -w %%FAKEDIR%%/etc/kroc_clock ]; then
 				CAN_WRITE_ETC=1
 			fi
 
 			if [ "$CAN_WRITE_ETC" = "1" ]; then
-				printf '%s: putting CPU clock speed in /etc/kroc_clock\n' "$0" | tee -a "$DUMPOUT"
-				cputimerutil > /etc/kroc_clock
-				KROC_CLOCK_FILE=/etc/kroc_clock
-			else
-				printf '%s: putting CPU clock speed in %s/.kroc_clock\n' "$0" "$HOME" | tee -a "$DUMPOUT"
-				cputimerutil > "$HOME"/.kroc_clock
-				KROC_CLOCK_FILE="$HOME"/.kroc_clock
+				printf '%s: putting CPU clock speed in %%FAKEDIR%%/etc/kroc_clock\n' "$0" | tee -a "$DUMPOUT"
+				cputimerutil > %%FAKEDIR%%/etc/kroc_clock
+				KROC_CLOCK_FILE=%%FAKEDIR%%/etc/kroc_clock
 			fi
 		fi
 		;;
@


1.1
log
@Add kroc 1.4.0, the Kent Retargettable occam-pi Compiler.
@
text
@@

