0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-27 06:10:43 +00:00

Fix changelog path, add all README.md files to Debian package doc ()

This commit is contained in:
Rune Juhl Jacobsen 2018-11-15 11:18:44 +01:00 committed by Paweł Krupa
parent c23aed3a8e
commit cc786edf34
2 changed files with 9 additions and 11 deletions
contrib/debian

View file

@ -1 +1 @@
ChangeLog
CHANGELOG.md

View file

@ -54,16 +54,14 @@ override_dh_install: debian/netdata.postinst
override_dh_installdocs:
dh_installdocs
# Docs should not be under /usr/lib
#
mv $(TOP)/usr/lib/$(DEB_HOST_MULTIARCH)/netdata/plugins.d/README.md \
$(TOP)/usr/share/doc/netdata/README.plugins.md
mv $(TOP)/usr/lib/$(DEB_HOST_MULTIARCH)/netdata/charts.d/README.md \
$(TOP)/usr/share/doc/netdata/README.charts.md
# This doc is currently empty, so no point installing it.
#
rm $(TOP)/usr/lib/$(DEB_HOST_MULTIARCH)/netdata/node.d/README.md
find . \
-name README.md \
-not -path './.travis/*' \
-not -path './debian/*' \
-exec cp \
--parents \
--target $(TOP)/usr/share/doc/netdata/ \
{} \;
override_dh_fixperms:
dh_fixperms