You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2005/11/08 03:30:12 UTC
svn commit: r331672 - /spamassassin/trunk/build/mkrules
Author: felicity
Date: Mon Nov 7 18:30:09 2005
New Revision: 331672
URL: http://svn.apache.org/viewcvs?rev=331672&view=rev
Log:
mkrules ought to figure out the MANIFEST and MANIFEST.SKIP files if they're in the cwd, ala --src
Modified:
spamassassin/trunk/build/mkrules
Modified: spamassassin/trunk/build/mkrules
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/build/mkrules?rev=331672&r1=331671&r2=331672&view=diff
==============================================================================
--- spamassassin/trunk/build/mkrules (original)
+++ spamassassin/trunk/build/mkrules Mon Nov 7 18:30:09 2005
@@ -55,6 +55,14 @@
}
}
+if (!$opt_manifest && -f "MANIFEST") {
+ $opt_manifest = "MANIFEST";
+}
+
+if (!$opt_manifestskip && -f "MANIFEST.SKIP") {
+ $opt_manifestskip = "MANIFEST.SKIP";
+}
+
die "no src" unless (@opt_srcs >= 1);
die "no out" unless ($opt_out);
die "unreadable out" unless (-d $opt_out);