From e76bc3147eafd87f0656dc396db5abdac57fd387 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Wed, 26 Jun 2002 20:59:23 +0000 Subject: [PATCH] buildrelease will check for docs subdirectory in /root/docs/ and copy that to the tarball. --- buildrelease | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/buildrelease b/buildrelease index 0092d38d84..b89ebab199 100644 --- a/buildrelease +++ b/buildrelease @@ -253,6 +253,14 @@ system("find $rootdir -name CVS -exec rm -rf \\{\\} \\; 2>/dev/null"); system("find $rootdir -name *~ -exec rm -rf \\{\\} \\; 2>/dev/null"); system("find $rootdir -name .#* -exec rm -rf \\{\\} \\; 2>/dev/null"); +if (-e "/root/docs") { + print "Copying docs folder from /root/docs..."; + system("cp /root/docs/* $rootdir/docs/"); +} else { + print "I would have copied the docs from from /root/docs, but I couldn't find it.\n"; + print "Press to continue...\n"; + ; +} chdir("/tmp"); system("tar czf /tmp/koha-$releaseversion.tar.gz koha-".$releaseversion);