X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=branch%2Fdouble_build%2Fconfigure;fp=branch%2Fdouble_build%2Fconfigure;h=fa1a12aec7a961015396be81abcea4a1d99fc414;hb=bbe8a759637a74b5036c8c7345de55a96cb7bbd6;hp=0000000000000000000000000000000000000000;hpb=449efd24870d395eb1edfd4d3a59e239c8cc5547;p=cran2deb.git diff --git a/branch/double_build/configure b/branch/double_build/configure new file mode 100755 index 0000000..fa1a12a --- /dev/null +++ b/branch/double_build/configure @@ -0,0 +1,19 @@ +#!/bin/sh +# +# We are tricking the builds process into executing this so that we can +# extract an svn revision number from the source directory + +# do nothing if we are not in a svn repository +if [ ! -d .svn ]; then + exit +fi + +svnrev=$(svnversion | cut -f1 -d:) + +cat < R/svnversion.R +# Autogenerated by configure. Do not edit. +svnversion <- function() { + return("$svnrev") +} +EOF +