From: Theodore Ts'o Date: Wed, 22 Aug 2018 00:10:02 +0000 (-0400) Subject: debian: create NEWS.gz in /usr/share/doc/e2fsprogs X-Git-Tag: v1.44.5~32 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=40ab405c377a78907f67755a4df57194cdcee86a;p=tools%2Fe2fsprogs.git debian: create NEWS.gz in /usr/share/doc/e2fsprogs 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 --- diff --git a/debian/e2fsprogs.docs b/debian/e2fsprogs.docs index 7af9733..e845566 100644 --- a/debian/e2fsprogs.docs +++ b/debian/e2fsprogs.docs @@ -1,2 +1 @@ README -RELEASE-NOTES diff --git a/debian/rules b/debian/rules index 41aa202..36085bb 100755 --- a/debian/rules +++ b/debian/rules @@ -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`"