diff options
author | Lennart Weller <lhw@ring0.de> | 2016-05-18 11:12:57 +0000 |
---|---|---|
committer | Lennart Weller <lhw@ring0.de> | 2016-05-18 11:54:08 +0000 |
commit | 2de6799cb1ddda358599d196caa71b5b2ec13239 (patch) | |
tree | 25190352114fe19df01b53fa0e949ae72fad25d2 /debian/rules | |
parent | Updated completed tasks (diff) | |
download | netdata-2de6799cb1ddda358599d196caa71b5b2ec13239.tar.xz netdata-2de6799cb1ddda358599d196caa71b5b2ec13239.zip |
multi-arch dirs and links with javascript
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/debian/rules b/debian/rules index e853d24a8..43f312add 100755 --- a/debian/rules +++ b/debian/rules @@ -11,6 +11,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -O3 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +MULTIARCH_INSTALL = debian/netdata.postinst \ + debian/netdata.links %: # For jessie and beyond # @@ -25,16 +27,16 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed override_dh_auto_configure: dh_auto_configure -- --with-math -debian/%.postinst: debian/%.postinst.in +$(MULTIARCH_INSTALL): % : %.in sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' $< > $@ -override_dh_install: debian/netdata.postinst +override_dh_install: $(MULTIARCH_INSTALL) dh_install # Remove unneeded .keep files # find "$(TOP)" -name .keep -exec rm '{}' ';' - rm -rf $(CURDIR)/debian/netdata-data/usr/share/netdata/web/old + rm -rf $(TOP)-data/usr/share/netdata/web/old # Move files that local user shouldn't be editing to /usr/share/netdata # @@ -65,16 +67,3 @@ override_dh_fixperms: # given extra capabilities in the postinst script. # chmod 0754 $(TOP)/usr/lib/$(DEB_HOST_MULTIARCH)/netdata/plugins.d/apps.plugin - -override_dh_installlogrotate: - dh_installlogrotate - -override_dh_clean: - dh_clean - - # Tidy up copied/generated files - rm -f $(CURDIR)/debian/netdata.postinst - rm -f $(CURDIR)/debian/netdata.conffiles - -override_dh_installchangelogs: - dh_installchangelogs ChangeLog |