diff --git a/plugins/audit_json/Makefile.in b/plugins/audit_json/Makefile.in index cefceebe3..2ec476bcc 100644 --- a/plugins/audit_json/Makefile.in +++ b/plugins/audit_json/Makefile.in @@ -23,6 +23,7 @@ srcdir = @srcdir@ devdir = @devdir@ top_builddir = @top_builddir@ +abs_top_builddir = @abs_top_builddir@ top_srcdir = @top_srcdir@ scriptdir = $(top_srcdir)/scripts incdir = $(top_srcdir)/include @@ -119,7 +120,7 @@ all: audit_json.la depend: $(scriptdir)/mkdep.pl --srcdir=$(top_srcdir) \ - --builddir=`pwd`/$(top_builddir) plugins/audit_json/Makefile.in + --builddir=$(abs_top_builddir) plugins/audit_json/Makefile.in cd $(top_builddir) && ./config.status --file plugins/audit_json/Makefile Makefile: $(srcdir)/Makefile.in diff --git a/plugins/sample_approval/Makefile.in b/plugins/sample_approval/Makefile.in index 0a7e2a3f3..212fe8d8e 100644 --- a/plugins/sample_approval/Makefile.in +++ b/plugins/sample_approval/Makefile.in @@ -23,6 +23,7 @@ srcdir = @srcdir@ devdir = @devdir@ top_builddir = @top_builddir@ +abs_top_builddir = @abs_top_builddir@ top_srcdir = @top_srcdir@ scriptdir = $(top_srcdir)/scripts incdir = $(top_srcdir)/include @@ -119,7 +120,7 @@ all: sample_approval.la depend: $(scriptdir)/mkdep.pl --srcdir=$(top_srcdir) \ - --builddir=`pwd`/$(top_builddir) plugins/sample_approval/Makefile.in + --builddir=$(abs_top_builddir) plugins/sample_approval/Makefile.in cd $(top_builddir) && ./config.status --file plugins/sample_approval/Makefile Makefile: $(srcdir)/Makefile.in