Make dh_elpa B-D-Indep
This commit is contained in:
parent
4dd1d21549
commit
92bb89a83e
1
debian/control
vendored
1
debian/control
vendored
@ -20,6 +20,7 @@ Build-Depends: debhelper-compat (= 13),
|
||||
python3-sphinx,
|
||||
python3-sphinxcontrib.qthelp | python3-sphinx (<< 2.0),
|
||||
dh-sequence-sphinxdoc,
|
||||
Build-Depends-Indep:
|
||||
dh-elpa
|
||||
Rules-Requires-Root: no
|
||||
Standards-Version: 4.6.0
|
||||
|
10
debian/rules
vendored
10
debian/rules
vendored
@ -70,9 +70,15 @@ override_dh_sphinxdoc:
|
||||
dh_sphinxdoc -pcmake-doc
|
||||
|
||||
export ELPA_NAME = cmake-mode
|
||||
execute_before_dh_elpa: debian/cmake-mode-pkg.el
|
||||
|
||||
# Instead of dh --with=elpa, we manually add dh_elpa to the sequence. This
|
||||
# way, we can restrict the dh-elpa dependency (which transitively depends on
|
||||
# emacs) to indep builds and avoid it for the more fragile port architectures
|
||||
execute_after_dh_install-indep: debian/cmake-mode-pkg.el
|
||||
dh_elpa
|
||||
|
||||
debian/cmake-mode-pkg.el: debian/cmake-mode-pkg.el.in
|
||||
sed -e 's/@VERSION@/$(DEB_VERSION_UPSTREAM)/' $< > $@
|
||||
|
||||
%:
|
||||
dh $@ --with elpa --builddirectory=Build
|
||||
dh $@ --builddirectory=Build
|
||||
|
Loading…
x
Reference in New Issue
Block a user