buildrelease will check for docs subdirectory in /root/docs/ and copy that to
authortonnesen <tonnesen>
Wed, 26 Jun 2002 20:59:23 +0000 (20:59 +0000)
committertonnesen <tonnesen>
Wed, 26 Jun 2002 20:59:23 +0000 (20:59 +0000)
the tarball.

buildrelease

index 0092d38..b89ebab 100644 (file)
@@ -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 <ENTER> to continue...\n";
+    <STDIN>;
+}
 
 chdir("/tmp");
 system("tar czf /tmp/koha-$releaseversion.tar.gz koha-".$releaseversion);