hyperv-daemons: Fix rule redefinition that 'make' warns about

This commit is contained in:
Ben Hutchings 2016-02-22 23:58:52 +00:00
parent 014aa49511
commit 910e14869d
2 changed files with 5 additions and 7 deletions

1
debian/changelog vendored
View File

@ -3,6 +3,7 @@ linux-tools (4.5~rc5-1~exp4) UNRELEASED; urgency=medium
* Makefile.inc: Add support for wildcards in $(SCRIPTS) and $(DATA)
* linux-kbuild: Include scripts/Makefile.* (Closes: #815593)
* Makefile.inc, rules.real: Fix conflation of $(DESTDIR) and $(prefix)
* hyperv-daemons: Fix rule redefinition that 'make' warns about
-- Ben Hutchings <ben@decadent.org.uk> Mon, 22 Feb 2016 23:21:57 +0000

View File

@ -8,18 +8,15 @@ else
PROGS = \
hv_fcopy_daemon \
hv_kvp_daemon \
hv_vss_daemon \
check-hyperv
hv_vss_daemon
prefix = /usr/sbin
include $(top_rulesdir)/Makefile.inc
install-local-progs: $(PROGS)
@for p in $(filter-out check-hyperv,$^); do \
echo " install -m755 '$$p' '$(DESTDIR)/$(prefix)'"; \
install -D -m755 "$$p" "$(DESTDIR)/$(prefix)/$$(basename $$p)"; \
done
# Handle check-hyperv separately since it's installed in a different directory
all-local: check-hyperv
install-local:
install -D -m755 check-hyperv '$(DESTDIR)/lib/hyperv-daemons/check-hyperv'
endif