summaryrefslogtreecommitdiff
path: root/dist.ini
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-03 12:52:57 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-03 13:05:59 -0700
commit6d555873bac4ce040570b390f57ae2b138293285 (patch)
tree3852b1dbfea0907cd674b2d440f1e56b8da75f21 /dist.ini
parentc383a31cd0c75ade6df76f69240893f85b6710de (diff)
downloadp5-Git-Annex-6d555873bac4ce040570b390f57ae2b138293285.tar.gz
README.dist is not valid for the git repository; fix that
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'dist.ini')
-rw-r--r--dist.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/dist.ini b/dist.ini
index 79522e1..c848b7a 100644
--- a/dist.ini
+++ b/dist.ini
@@ -15,6 +15,15 @@ release_status = unstable
[GatherDir]
prune_directory = debian
+exclude_filename = README.dist
+
+; The installation instructions in README.dist are valid only for the
+; dist, not for the git repository, so avoid having them under the
+; name 'README' in the root of the git repository
+[Run::BeforeBuild]
+eval = use File::Copy qw(copy); copy "README.dist", "README"
+[Run::BeforeArchive]
+eval = unlink "README"
[AutoPrereqs]