Commit d6e687f8 authored by Edwin Carlinet's avatar Edwin Carlinet
Browse files

Merge branch 'version-hh-fix' into 'master'

simplify recipe for mln/version.hh

See merge request !6
parents cd2d9355 abd96716
......@@ -105,9 +105,7 @@ edit = sed -e 's,@PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \
$(srcdir)/mln/version.hh: mln/ $(top_srcdir)/
rm -f $@ $@.tmp
srcdir=''; \
test -f ./$ || srcdir=$(srcdir)/; \
$(edit) $${srcdir}$ >$@.tmp
$(edit) $ >$@.tmp
chmod a-w $@.tmp
mv $@.tmp $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment