at startup, to easily identify releases.
{
/* Display the MINIX startup banner. */
kprintf("\nMINIX %s.%s. "
+#ifdef SVN_REVISION
+ "(" SVN_REVISION ")\n"
+#endif
"Copyright 2006, Vrije Universiteit, Amsterdam, The Netherlands\n",
OS_RELEASE, OS_VERSION);
}
echo "Doing export of revision $REVISION from $REPO."
( cd $RELEASEDIR/usr && svn export -r$REVISION $REPO )
REVTAG=r$REVISION
+ echo "
+
+/* Added by release script */
+#ifndef SVN_REVISION
+#define SVN_REVISION \"$REVISION\"
+#endif" >>$RELEASEDIR/usr/src/include/minix/sys_config.h
+
else
( cd .. && make depend && make clean )
srcdir=/usr/$SRC