Commit 578d68d2 authored by Jeremy Bicha's avatar Jeremy Bicha

Fix version number field, thanks Fran Glais

parent be0371d0
#!/usr/bin/make -f
VERSION=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)[-+].*$$/\1/p')
BASEDIR=debian/gnome-shell-extension-dashtodock/usr/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com
%:
dh $@
override_dh_install:
dh_install
rm -f debian/gnome-shell-extension-dashtodock/usr/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/COPYING
rm -rf debian/gnome-shell-extension-dashtodock/usr/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/schemas
sed -i 's/"version": ""/"version": $(VERSION)/' $(BASEDIR)/metadata.json;
rm -f $(BASEDIR)/COPYING
rm -rf $(BASEDIR)/schemas
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment