[misc] use $(srcdir) in Makefiles

* Picked from #1449
This commit is contained in:
David Stumph 2020-02-10 12:08:04 +00:00 committed by Pete Batard
parent 88be86d3d4
commit 3c9acb0d3c
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
17 changed files with 24 additions and 21 deletions

View file

@ -10,7 +10,7 @@ AM_V_SED_ = $(AM_V_SED_$(AM_DEFAULT_VERBOSITY))
AM_V_SED = $(AM_V_SED_$(V))
embedded.loc: rufus.loc
$(AM_V_SED) -f embedded.sed $< > $@
$(AM_V_SED) -f $(srcdir)/embedded.sed $< > $@
clean-local:
-rm -rf embedded.loc

View file

@ -367,7 +367,7 @@ uninstall-am:
all-local: embedded.loc
embedded.loc: rufus.loc
$(AM_V_SED) -f embedded.sed $< > $@
$(AM_V_SED) -f $(srcdir)/embedded.sed $< > $@
clean-local:
-rm -rf embedded.loc