1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Copy build_info.c.in only if we are working in a VPATH.

This commit is contained in:
Giuseppe Scrivano 2010-05-07 09:51:35 +02:00
parent 57a46fed5d
commit 63f280a030
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-05-07 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am: Copy build_info.c.in only if we are working in a VPATH.
2010-05-06 Giuseppe Scrivano <gscrivano@gnu.org> 2010-05-06 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am (build_info.c): Generate build_info.c in the builddir, * Makefile.am (build_info.c): Generate build_info.c in the builddir,

View File

@ -64,10 +64,10 @@ MD5_LDADD = @MD5_LDADD@
cd ../lib && $(MAKE) $(AM_MAKEFLAGS) cd ../lib && $(MAKE) $(AM_MAKEFLAGS)
build_info.c: $(srcdir)/Makefile.am $(srcdir)/build_info.c.in build_info.c: $(srcdir)/Makefile.am $(srcdir)/build_info.c.in
cp $(srcdir)/build_info.c.in . if test -n "$(VPATH)"; then cp $(srcdir)/build_info.c.in .; fi
$(PERL) $(top_srcdir)/build-aux/build_info.pl \ $(PERL) $(top_srcdir)/build-aux/build_info.pl \
$(abs_builddir)/build_info.c $(abs_builddir)/build_info.c
rm -f build_info.c.in if test -n "$(VPATH)"; then rm -f build_info.c.in; fi
ESCAPEQUOTE = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/' ESCAPEQUOTE = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
version.c: $(wget_SOURCES) ../lib/libgnu.a $(MD5_LDADD) \ version.c: $(wget_SOURCES) ../lib/libgnu.a $(MD5_LDADD) \