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' \ ...@@ -105,9 +105,7 @@ edit = sed -e 's,@PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \
EXTRA_DIST = mln/version.hh.in EXTRA_DIST = mln/version.hh.in
$(srcdir)/mln/version.hh: mln/version.hh.in $(top_srcdir)/configure.ac Makefile.am $(srcdir)/mln/version.hh: mln/version.hh.in $(top_srcdir)/configure.ac Makefile.am
rm -f $@ $@.tmp rm -f $@ $@.tmp
srcdir=''; \ $(edit) $@.in >$@.tmp
test -f ./$@.in || srcdir=$(srcdir)/; \
$(edit) $${srcdir}$@.in >$@.tmp
chmod a-w $@.tmp chmod a-w $@.tmp
mv $@.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