]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debian: create NEWS.gz in /usr/share/doc/e2fsprogs
authorTheodore Ts'o <tytso@mit.edu>
Wed, 22 Aug 2018 00:10:02 +0000 (20:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 22 Aug 2018 23:03:59 +0000 (19:03 -0400)
Create the full NEWS.gz and put it in /usr/share/doc/e2fsprogs instead
of the RELEASE-NOTES file to comply with the Debian policy 4.2.0.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/e2fsprogs.docs
debian/rules

index 7af9733b38bc6e0038b22e9bc1fb48422c7e6ed5..e845566c06f9bf557d35e8292c37cf05d97a9769 100644 (file)
@@ -1,2 +1 @@
 README
-RELEASE-NOTES
index 41aa202e249c1a210fe959ca1313c72ae3ca896d..36085bb379f1a15db0fbfea1a6aacc7f4b8b8509 100755 (executable)
@@ -279,6 +279,8 @@ endif
 
        ( cd ${stdbuilddir}/doc && $(MAKE) V=1 libext2fs.html )
        ( cd ${stdbuilddir}/lib/et && $(MAKE) V=1 com_err.info com_err.html )
+       cat $(shell /bin/ls -1 ./doc/RelNotes/*.txt | tac) | \
+               gzip -9n > ${stdbuilddir}/NEWS.gz
 
        touch ${BUILDSTDSTAMP}
 
@@ -328,6 +330,8 @@ ifeq ($(DEB_HOST_ARCH_OS), hurd)
        ${INSTALL} -m 0644 misc/mke2fs-hurd.conf ${tmpdir}/etc/mke2fs.conf
 endif
 
+       dh_install -p e2fsprogs --sourcedir=${stdbuilddir} NEWS.gz \
+               usr/share/doc/e2fsprogs
        dh_movefiles
        test -z "`find ${tmpdir} -type f`"