mirror of git://git.sysmocom.de/ofono
build: Fix generating links in Makefile.am
In case relative dependency is in $(srcdir), $< already includes path to $(srcdir).
This commit is contained in:
parent
920d683367
commit
fb16f89abb
|
@ -666,9 +666,9 @@ include/ofono/version.h: include/version.h
|
|||
$(AM_V_at)$(MKDIR_P) include/ofono
|
||||
$(AM_V_GEN)$(LN_S) $(abs_top_builddir)/$< $@
|
||||
|
||||
include/ofono/%.h: include/%.h
|
||||
include/ofono/%.h: $(abs_top_srcdir)/include/%.h
|
||||
$(AM_V_at)$(MKDIR_P) include/ofono
|
||||
$(AM_V_GEN)$(LN_S) $(abs_top_srcdir)/$< $@
|
||||
$(AM_V_GEN)$(LN_S) $< $@
|
||||
|
||||
clean-local:
|
||||
@$(RM) -rf include/ofono
|
||||
|
|
Loading…
Reference in New Issue