Fix dist / distcheck targets by including fetch_sources.py in EXTRA_DIST

This commit is contained in:
Harald Welte 2015-11-05 21:37:57 +01:00
parent 0790f03eb9
commit bb782d98f3
1 changed files with 3 additions and 1 deletions

View File

@ -1,13 +1,15 @@
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
AM_CFLAGS = -fPIC -Wall ${SYMBOL_VISIBILITY}
EXTRA_DIST=fetch_sources.py
LIBVERSION=0:0:0
REFSRC_PATH=refsrc
REFSRC_SRC=refsrc/dtx.c refsrc/globdefs.c refsrc/host.c refsrc/mathhalf.c refsrc/sp_enc.c refsrc/sp_rom.c refsrc/vad.c refsrc/err_conc.c refsrc/homing.c refsrc/mathdp31.c refsrc/sp_dec.c refsrc/sp_frm.c refsrc/sp_sfrm.c
${REFSRC_PATH}/.downloaded:
./fetch_sources.py "${REFSRC_PATH}"
$(srcdir)/fetch_sources.py "${REFSRC_PATH}"
for f in "${REFSRC_PATH}"/*.{c,h}; do \
sed -i -e"s/round/round_l2s/" "$$f"; \
done