Commit 6e13b67e authored by Ximin Luo's avatar Ximin Luo

Use dh_webext

parent 26f32da1
......@@ -2,6 +2,7 @@ tree-style-tab (2.4.24-1) UNRELEASED; urgency=medium
[ Ximin Luo ]
* New upstream release.
* Use dh_webext.
[ Dmitry Smirnov ]
* New upstream release [June 2018].
......@@ -18,7 +19,7 @@ tree-style-tab (2.4.24-1) UNRELEASED; urgency=medium
[ FIXME ]
copyright: needs more work; MPL-2.0.
-- Ximin Luo <infinity0@debian.org> Thu, 28 Dec 2017 16:34:14 +0100
-- Ximin Luo <infinity0@debian.org> Tue, 31 Jul 2018 03:10:49 -0700
tree-style-tab (0.19.2017061601-1) unstable; urgency=medium
......
#debian/missing-sources usr/share/webext/tree-style-tab/
* usr/share/webext/tree-style-tab/
#! /bin/sh
set -e
set -u
webext="tree-style-tab"
if [ "$1" = "configure" ]; then
touch /usr/share/webext/${webext}/manifest.json
fi
#DEBHELPER#
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
ID:=$(shell jq -r .applications.gecko.id manifest.json)
%:
dh $@
override_dh_auto_build:
@
override_dh_install:
dh_install -XLICENSE -XCOPYING
$(RM) -rv debian/*/usr/share/webext/*/debian
## executable-not-elf-or-script
chmod -R -c a-x+X debian/*/usr/share
dh $@ --with webext
override_dh_link: $(info :: ID=$(ID))
dh_link -v \
/usr/share/webext/$(DEB_SOURCE) /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/$(ID)
override_dh_webext:
dh_webext . tree-style-tab
override_dh_installchangelogs:
dh_installchangelogs debian/upstream/changelog.html debian/upstream/changelog
......
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