debian/rules: Do not run make install twice

This causes issues due to the fact that the second make install is run
after several files being moved in override_dh_auto_install-arch
This commit is contained in:
Laurent Bigonville 2019-08-01 19:06:41 +02:00
parent e8aa8ec3ff
commit ed73672c7c

4
debian/rules vendored
View file

@ -42,7 +42,7 @@ override_dh_autoreconf:
dh_autoreconf --as-needed dh_autoreconf --as-needed
override_dh_auto_install-arch: override_dh_auto_install-arch:
dh_auto_install -a dh_auto_install
# install the bash completion script # install the bash completion script
mkdir -p $(CURDIR)/debian/tmp/usr/share/bash-completion/completions/ mkdir -p $(CURDIR)/debian/tmp/usr/share/bash-completion/completions/
@ -94,8 +94,6 @@ override_dh_auto_install-arch:
ln -s /dev/null $(CURDIR)/debian/tmp/lib/systemd/system/ups-monitor.service ln -s /dev/null $(CURDIR)/debian/tmp/lib/systemd/system/ups-monitor.service
override_dh_auto_install-indep: override_dh_auto_install-indep:
dh_auto_install -i
#install documentation #install documentation
mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/nut-doc/pdf mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/nut-doc/pdf
mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/nut-doc/html mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/nut-doc/html