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)
|
* Makefile.inc: Add support for wildcards in $(SCRIPTS) and $(DATA)
|
||||||
* linux-kbuild: Include scripts/Makefile.* (Closes: #815593)
|
* linux-kbuild: Include scripts/Makefile.* (Closes: #815593)
|
||||||
* Makefile.inc, rules.real: Fix conflation of $(DESTDIR) and $(prefix)
|
* 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
|
-- Ben Hutchings <ben@decadent.org.uk> Mon, 22 Feb 2016 23:21:57 +0000
|
||||||
|
|
||||||
|
|
|
@ -8,18 +8,15 @@ else
|
||||||
PROGS = \
|
PROGS = \
|
||||||
hv_fcopy_daemon \
|
hv_fcopy_daemon \
|
||||||
hv_kvp_daemon \
|
hv_kvp_daemon \
|
||||||
hv_vss_daemon \
|
hv_vss_daemon
|
||||||
check-hyperv
|
|
||||||
|
|
||||||
prefix = /usr/sbin
|
prefix = /usr/sbin
|
||||||
|
|
||||||
include $(top_rulesdir)/Makefile.inc
|
include $(top_rulesdir)/Makefile.inc
|
||||||
|
|
||||||
install-local-progs: $(PROGS)
|
# Handle check-hyperv separately since it's installed in a different directory
|
||||||
@for p in $(filter-out check-hyperv,$^); do \
|
all-local: check-hyperv
|
||||||
echo " install -m755 '$$p' '$(DESTDIR)/$(prefix)'"; \
|
install-local:
|
||||||
install -D -m755 "$$p" "$(DESTDIR)/$(prefix)/$$(basename $$p)"; \
|
|
||||||
done
|
|
||||||
install -D -m755 check-hyperv '$(DESTDIR)/lib/hyperv-daemons/check-hyperv'
|
install -D -m755 check-hyperv '$(DESTDIR)/lib/hyperv-daemons/check-hyperv'
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue