Mercurial > octave
comparison liboctave/operators/module.mk @ 21290:1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
The build system runs primarily in the top-level directory now, so
unless a Make rule changes the working directory before referencing a
file, it is not necessary to use the abs_top_X or top_X directory
names.
* Makefile.am, build-aux/common.mk, doc/module.mk,
libgui/graphics/module.mk, libgui/module.mk, libgui/src/module.mk,
libinterp/corefcn/module.mk, libinterp/module.mk,
liboctave/cruft/module.mk, liboctave/cruft/ranlib/module.mk,
liboctave/module.mk, liboctave/numeric/module.mk
liboctave/operators/module.mk, scripts/module.mk, src/module.mk:
Only use Use $(top_srcdir), $(top_builddir), $(abs_top_srcdir), and
$(abs_top_builddir) if necessary.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 17 Feb 2016 13:32:44 -0500 |
parents | a032c6708f5c |
children | 659731a4563f |
comparison
equal
deleted
inserted
replaced
21289:952854b61ac9 | 21290:1309edb344e1 |
---|---|
55 LIBOCTAVE_TEMPLATE_SRC += \ | 55 LIBOCTAVE_TEMPLATE_SRC += \ |
56 liboctave/operators/mx-inlines.cc | 56 liboctave/operators/mx-inlines.cc |
57 | 57 |
58 ## Special rules for sources which must be built before rest of compilation. | 58 ## Special rules for sources which must be built before rest of compilation. |
59 | 59 |
60 OP_SRCDIR = $(abs_top_srcdir)/liboctave/operators | 60 OP_SRCDIR = $(srcdir)/liboctave/operators |
61 | 61 |
62 define run-mk-ops | 62 define run-mk-ops |
63 rm -f $@-t $@ && \ | 63 rm -f $@-t $@ && \ |
64 $(AWK) -f $(OP_SRCDIR)/mk-ops.awk -v build_file=$(notdir $@) $< > $@-t && \ | 64 $(AWK) -f $(OP_SRCDIR)/mk-ops.awk -v build_file=$(notdir $@) $< > $@-t && \ |
65 mv $@-t $@ | 65 mv $@-t $@ |