* Now asking using debconf if we should disable the default apache vhost,
and activate the Dasboard, and if we should use SSL or not.
* Added missing dependency on node-less.
+ * The package had only Build-Depends:, now setting lots of them in
+ Build-Depends-Indep: as it should be.
-- Mehdi Abaakouk <sileht@sileht.net> Sat, 29 Sep 2012 09:38:19 +0200
Thomas Goirand <zigo@debian.org>,
Ghe Rivero <ghe.rivero@stackops.com>,
Mehdi Abaakouk <sileht@sileht.net>
-Build-Depends: debhelper (>= 8), python-all (>= 2.6.6-3~), python-setuptools,
+Build-Depends: debhelper (>= 9),
+ python-all (>= 2.6.6-3~),
+ python-setuptools
+Build-Depends-Indep: openstack-pkg-tools,
pep8,
python-cloudfiles,
python-coverage,
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
-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)
+include /usr/share/openstack-pkg-tools/pkgos.make
%:
dh $@ --with python2
ln -s /var/lib/openstack-dashboard/static/js $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/js
ln -s /var/lib/openstack-dashboard/static/css $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/css
-override_dh_builddeb:
- dh_builddeb -- -Zxz -z9
-
override_dh_auto_clean:
dh_auto_clean
rm -rf $(CURDIR)/static
rm -rf $(CURDIR)/horizon/build
rm -rf $(CURDIR)/horizon.egg-info
rm -rf $(CURDIR)/openstack_dashboard/openstack_dashboard.egg-info
-
-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