hyperv-daemons: Fix rule redefinition that 'make' warns about
This commit is contained in:
parent
014aa49511
commit
910e14869d
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue