build: Fix generating links in Makefile.am

In case relative dependency is in $(srcdir), $< already includes path to
$(srcdir).
This commit is contained in:
Pekka Pessi 2011-08-30 15:20:17 +03:00 committed by Marcel Holtmann
parent 920d683367
commit fb16f89abb
1 changed files with 2 additions and 2 deletions

View File

@ -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