Commit abd96716 authored by Konstantin Baierer's avatar Konstantin Baierer Committed by Robert Sachunsky
Browse files

simplify recipe for mln/version.hh

parent 3bb2737c
......@@ -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