forked from Mirrors/freeswitch
FS-10056: Fix modcheck.sh invokation
modcheck.sh gets called by build/Makefile when doing "make install" with parameter "$(modulesdir)". This is fine when the install is done on a live system. But when "make install" was called with a "$DESTDIR" then this won't work, as the correct path would then be "$(DESTDIR)$(modulesdir)". So add "$(DESTDIR)" in front. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
a8adc886b2
commit
9e8f3f47af
|
@ -71,7 +71,7 @@ install:
|
||||||
@echo " + +"
|
@echo " + +"
|
||||||
@echo " +-------------------------------------------------+"
|
@echo " +-------------------------------------------------+"
|
||||||
@cat $(switch_srcdir)/cluecon2.tmpl
|
@cat $(switch_srcdir)/cluecon2.tmpl
|
||||||
@sh $(switch_srcdir)/build/modcheck.sh $(modulesdir)
|
@sh $(switch_srcdir)/build/modcheck.sh $(DESTDIR)$(modulesdir)
|
||||||
|
|
||||||
.PHONY: check dvi html info install-data \
|
.PHONY: check dvi html info install-data \
|
||||||
install-dvi install-exec install-html install-info install-pdf install-ps installcheck installdirs pdf \
|
install-dvi install-exec install-html install-info install-pdf install-ps installcheck installdirs pdf \
|
||||||
|
|
Loading…
Reference in New Issue