Now using include pkgos.make
[openstack-build/ceilometer-build.git] / trusty / debian / rules
index 90ec76b417ef7a4ed3af308f793998aeacf3e775..3b2f83c00ec0ede133981f480ab57c545c298716 100755 (executable)
@@ -2,6 +2,8 @@
 
 #export DH_VERBOSE=1
 
+include /usr/share/openstack-pkg-tools/pkgos.make
+
 %:
        dh $@  --with python2
 
@@ -43,15 +45,3 @@ regen-manifest-patch:
        git ls-files --no-empty-directory --exclude-standard nova | grep -v '.py$$' | sed -n 's/.*/include &/gp' >> MANIFEST.in
        quilt refresh
        quilt pop -a
-
-get-vcs-source:
-       git remote add upstream git://github.com/openstack/$(DEBPKGNAME).git || true
-       git fetch upstream
-       if [ ! -f ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] ; then \
-               git archive --prefix=$(DEBPKGNAME)-$(VERSION)/ $(VERSION) | xz >../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ; \
-       fi
-       if ! git checkout master ; then \
-               echo "No upstream branch: checking out" ; \
-               git checkout -b master upstream/master ; \
-       fi
-       git checkout debian/experimental