Now including pkgos.make
[openstack-build/ceilometer-build.git] / xenial / debian / rules
index 16c9d19c92416db072c1ff9afef6c2fadc409a9e..6ea03010c31bc53023872b498deada5be90659eb 100755 (executable)
@@ -2,6 +2,8 @@
 
 #export DH_VERBOSE=1
 
+include /usr/share/openstack-pkg-tools/pkgos.make
+
 %:
        dh $@  --with python2
 
@@ -10,6 +12,9 @@ VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*/
 DEBFLAVOR :=$(shell dpkg-parsechangelog | grep -E ^Distribution: | cut -d" " -f2)
 DEBPKGNAME :=$(shell dpkg-parsechangelog | grep -E ^Source: | cut -d" " -f2)
 
+override_dh_installchangelogs:
+       dh_installchangelogs debian/CHANGELOG
+
 override_dh_auto_clean:
        dh_auto_clean
        rm -rf debian/*.upstart