mirror of https://gerrit.osmocom.org/gapk
build: fix packaging problems and make distcheck happy
The 'distcheck' rule performs all of the operations associated with packaging a distribution and verifying that the distribution works. There were several problems: - libgsmhr/Makefile.am: 'patches' dir was not listed in EXTRA_DIST - libgsmhr/Makefile.am: (dist)clean targets wan't defined properly - tests/Makefile.am: 'ref-files' dir was not listed in EXTRA_DIST - tests/testsuite.at: wrong path was used for io_sample.txt Change-Id: Ieb8f6a2a81f9b75c8c6c5db443b0e7be02bc4153
This commit is contained in:
parent
27bc25cd9f
commit
62717b6375
|
@ -1,7 +1,10 @@
|
||||||
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
|
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
|
||||||
AM_CFLAGS = -fPIC -Wall ${SYMBOL_VISIBILITY}
|
AM_CFLAGS = -fPIC -Wall ${SYMBOL_VISIBILITY}
|
||||||
|
|
||||||
EXTRA_DIST=fetch_sources.py
|
EXTRA_DIST = \
|
||||||
|
fetch_sources.py \
|
||||||
|
patches \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
LIBVERSION=0:0:0
|
LIBVERSION=0:0:0
|
||||||
|
|
||||||
|
@ -22,4 +25,7 @@ libgsmhr_la_SOURCES = $(REFSRC_SRC) libgsmhr.c
|
||||||
libgsmhr_la_LIBADD = -ldl
|
libgsmhr_la_LIBADD = -ldl
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
-rm -rf ${REFSRC_PATH}/*.{c,h} ${REFSRC_PATH}/.downloaded
|
-rm -rf ${REFSRC_PATH}/*.lo
|
||||||
|
|
||||||
|
distclean-local:
|
||||||
|
-rm -rf ${REFSRC_PATH}/
|
||||||
|
|
|
@ -79,7 +79,7 @@ EXTRA_DIST += \
|
||||||
io/pq_file_test.ok \
|
io/pq_file_test.ok \
|
||||||
io/pq_rtp_test.ok \
|
io/pq_rtp_test.ok \
|
||||||
io/io_sample.txt \
|
io/io_sample.txt \
|
||||||
ref-files/* \
|
ref-files \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
DISTCLEANFILES = atconfig atlocal
|
DISTCLEANFILES = atconfig atlocal
|
||||||
|
|
|
@ -12,7 +12,7 @@ AT_KEYWORDS([pq_file])
|
||||||
cat $abs_srcdir/io/pq_file_test.ok > expout
|
cat $abs_srcdir/io/pq_file_test.ok > expout
|
||||||
AT_CHECK([
|
AT_CHECK([
|
||||||
$abs_top_builddir/tests/io/pq_file_test \
|
$abs_top_builddir/tests/io/pq_file_test \
|
||||||
$abs_top_builddir/tests/io/io_sample.txt],
|
$abs_srcdir/io/io_sample.txt],
|
||||||
[0], [expout])
|
[0], [expout])
|
||||||
AT_CLEANUP
|
AT_CLEANUP
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue