summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrode Nordahl <frode.nordahl@canonical.com>2022-07-14 17:55:44 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-07-15 13:45:55 +0200
commit3e31a2dafc3f0a096241eba1c509186fd683f6b3 (patch)
treea11b6eb649bce40c587770a64f444f9243d34442
parent6ad3be9749abe6d840a45e5be7ed28abb4c45262 (diff)
downloadopenvswitch-3e31a2dafc3f0a096241eba1c509186fd683f6b3.tar.gz
debian: Fix generation of copyright file.
The recipe for inserting authors from AUTHORS.rst is wrong. Fixes: 3deca69b08f2 ("doc: Convert AUTHORS to rST") Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
-rw-r--r--debian/automake.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/automake.mk b/debian/automake.mk
index afba5b0e4..a3c2d7289 100644
--- a/debian/automake.mk
+++ b/debian/automake.mk
@@ -83,9 +83,9 @@ DIST_HOOKS += check-debian-changelog-version
$(srcdir)/debian/copyright: AUTHORS.rst debian/copyright.in
$(AM_V_GEN) \
{ sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in; \
- sed '34,/^$$/d' $(srcdir)/AUTHORS.rst | \
+ tail -n +28 $(srcdir)/AUTHORS.rst | sed '1,/^$$/d' | \
sed -n -e '/^$$/q' -e 's/^/ /p'; \
- sed -e '34,/%AUTHORS%/d' $(srcdir)/debian/copyright.in; \
+ sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in; \
} > $@
DISTCLEANFILES += debian/copyright