diff options
author | Pekka Pessi <Pekka.Pessi@nokia.com> | 2011-08-30 15:20:17 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-08-30 11:34:05 -0700 |
commit | fb16f89abbb0c8739e30a0ddbf28867196900483 (patch) | |
tree | 8a987282c605a2a8468c14834e608e64feac9569 /Makefile.am | |
parent | 920d683367a6b41e8f750a7a3959e699f6a43a46 (diff) | |
download | ofono-fb16f89abbb0c8739e30a0ddbf28867196900483.tar.bz2 |
build: Fix generating links in Makefile.am
In case relative dependency is in $(srcdir), $< already includes path to
$(srcdir).
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 5019b7d5..832c8ac0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 |