olena: olena-2.0-893-g5ec6227 Make dynamic-use-of-static-c++ more compatible with BSD Make.

* data/Makefile.am: Do not use `$<' outside suffix rules. --- dynamic-use-of-static-c++/ChangeLog | 6 ++++++ dynamic-use-of-static-c++/data/Makefile.am | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/dynamic-use-of-static-c++/ChangeLog b/dynamic-use-of-static-c++/ChangeLog index c990c1b..2881313 100644 --- a/dynamic-use-of-static-c++/ChangeLog +++ b/dynamic-use-of-static-c++/ChangeLog @@ -1,3 +1,9 @@ +2014-06-26 Roland Levillain <roland@lrde.epita.fr> + + Make dynamic-use-of-static-c++ more compatible with BSD Make. + + * data/Makefile.am: Do not use `$<' outside suffix rules. + 2014-06-25 Roland Levillain <roland@lrde.epita.fr> Convert dynamic-use-of-static-c++ to UTF-8. diff --git a/dynamic-use-of-static-c++/data/Makefile.am b/dynamic-use-of-static-c++/data/Makefile.am index 698b1f8..1c1137c 100644 --- a/dynamic-use-of-static-c++/data/Makefile.am +++ b/dynamic-use-of-static-c++/data/Makefile.am @@ -1,4 +1,5 @@ -# Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE). +# Copyright (C) 2005, 2009, 2014 EPITA Research and Development +# Laboratory (LRDE). # # This file is part of Olena. # @@ -27,7 +28,7 @@ libdyn_function_la_SOURCES = function.cc pkgdata_DATA = Makefile.template Makefile.repository Makefile.template: Makefile - cat $< | \ + cat Makefile | \ sed -e 's|^srcdir = .*|srcdir = '`cd $(srcdir) && pwd`'|' \ -e 's|^top_srcdir = .*|top_srcdir = '`cd $(top_srcdir) && pwd`'|' \ -e 's|^top_builddir = .*|top_builddir = '`cd $(top_builddir) && pwd`'|' \ @@ -37,7 +38,7 @@ Makefile.template: Makefile -e 's|^VPATH = .*|VPATH = .|' > $@ Makefile.repository: Makefile - cat $< | \ + cat Makefile | \ sed -e 's|^srcdir = .*|srcdir = '`cd $(srcdir) && pwd`'|' \ -e 's|^top_srcdir = .*|top_srcdir = '`cd $(top_srcdir) && pwd`'|' \ -e 's|^top_builddir = .*|top_builddir = '`cd $(top_builddir) && pwd`'|' \ -- 1.7.10.4
participants (1)
-
Roland Levillain