summaryrefslogtreecommitdiff
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
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>
-rw-r--r--README.dist (renamed from README)0
-rw-r--r--README.rst11
-rw-r--r--dist.ini9
3 files changed, 20 insertions, 0 deletions
diff --git a/README b/README.dist
index cf999e3..cf999e3 100644
--- a/README
+++ b/README.dist
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..943a422
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,11 @@
+Git::Annex
+----------
+
+Perl interface to git-annex repositories.
+
+Build
+=====
+
+::
+
+ dzil build
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]