This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=e56a8172e3c3344d41592191734829d4afba6ce2

commit e56a8172e3c3344d41592191734829d4afba6ce2
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Mon Nov 2 10:06:47 2020 +0100

    build: Add a README.cpan to be installed as README in the CPAN distribution
    
    This is a requirement for the CPAN distributions.
---
 configure.ac           | 1 +
 cpan.am                | 1 +
 scripts/.gitignore     | 1 +
 scripts/README.cpan.in | 5 +++++
 4 files changed, 8 insertions(+)

diff --git a/configure.ac b/configure.ac
index 16800e8e8..5ca23b4cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -226,6 +226,7 @@ AC_CONFIG_FILES([
   po/Makefile.in
   scripts/Build.PL
   scripts/Makefile
+  scripts/README.cpan
   scripts/mk/Makefile
   scripts/po/Makefile.in
   src/Makefile
diff --git a/cpan.am b/cpan.am
index 4c72d9187..a9c12497e 100644
--- a/cpan.am
+++ b/cpan.am
@@ -21,6 +21,7 @@ dist-cpan:
        cp -fpR $(top_srcdir)/scripts/Dpkg.pm $(CPAN_DIST)/lib/
        cp -fpR $(top_srcdir)/scripts/Dpkg $(CPAN_DIST)/lib/
        cp -fpR $(top_srcdir)/scripts/Test $(CPAN_DIST)/lib/
+       cp -fpR $(top_builddir)/scripts/README.cpan $(CPAN_DIST)/README
        cp -fpR $(top_builddir)/scripts/Build.PL $(CPAN_DIST)
 
        : # Fix permissions of the distributed files.
diff --git a/scripts/.gitignore b/scripts/.gitignore
index f10602c23..99f6d0900 100644
--- a/scripts/.gitignore
+++ b/scripts/.gitignore
@@ -1,4 +1,5 @@
 Build.PL
+README.cpan
 dpkg-architecture
 dpkg-buildflags
 dpkg-buildpackage
diff --git a/scripts/README.cpan.in b/scripts/README.cpan.in
new file mode 100644
index 000000000..5bf8161c5
--- /dev/null
+++ b/scripts/README.cpan.in
@@ -0,0 +1,5 @@
+This archive contains the CPAN distribution for @PACKAGE_CPAN_NAME@, which
+is part of the @PACKAGE@ project.
+
+Only the perl modules are included. The rest of the content can be found in
+the original upstream source code, from <@PACKAGE_URL@>.

-- 
Dpkg.Org's dpkg

Reply via email to