diff options
author | Rune Juhl Jacobsen <rune@juhljacobsen.dk> | 2018-11-15 11:18:44 +0100 |
---|---|---|
committer | Paweł Krupa <pawel@krupa.net.pl> | 2018-11-15 11:18:44 +0100 |
commit | cc786edf34427a435291a35ff8bc348a3ee294bb (patch) | |
tree | c4abdafb5fb9b8033131fa5b9920e1b0005c490c /contrib | |
parent | c23aed3a8edfa33015f4b86d35038f5aa79219a5 (diff) |
Fix changelog path, add all README.md files to Debian package doc (#4657)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/debian/netdata.docs | 2 | ||||
-rwxr-xr-x | contrib/debian/rules | 18 |
2 files changed, 9 insertions, 11 deletions
diff --git a/contrib/debian/netdata.docs b/contrib/debian/netdata.docs index 56631abf19..1b763b1bae 100644 --- a/contrib/debian/netdata.docs +++ b/contrib/debian/netdata.docs @@ -1 +1 @@ -ChangeLog +CHANGELOG.md diff --git a/contrib/debian/rules b/contrib/debian/rules index ec4ec41821..c19323960a 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -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 |