diff options
author | Theodore Ts'o <tytso@mit.edu> | 2018-08-21 20:10:02 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-08-22 19:10:43 -0400 |
commit | 674b6dce64e9019626f893eada6475ba625adb82 (patch) | |
tree | 57af318cc1779f94c4a88fc950b1e7e73ddbb221 /debian | |
parent | 6155f314928a21d9d1c645758cd394988a9d1785 (diff) |
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 <tytso@mit.edu>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/e2fsprogs.docs | 1 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/e2fsprogs.docs b/debian/e2fsprogs.docs index 7af9733b..e845566c 100644 --- a/debian/e2fsprogs.docs +++ b/debian/e2fsprogs.docs @@ -1,2 +1 @@ README -RELEASE-NOTES diff --git a/debian/rules b/debian/rules index 41aa202e..36085bb3 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`" |