summaryrefslogtreecommitdiff
path: root/dist.ini
diff options
context:
space:
mode:
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]