aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2022-05-25 13:45:30 +0200
committerlns <matzeton@googlemail.com>2022-05-26 13:02:41 +0200
commite27fba584f5e3d0f88127de691a704e6b7516af2 (patch)
tree06de31c587b822fee05470fa22e268b61a551caa /src/lib
parent7010d17ccc5669b2c2cf4fd7b7140b5f4c580b20 (diff)
Added script to compare and verify the output of `make dist'.add/tarball-verification-script
This fixes some build/test issues resulting when using tarballs. * nDPI uses autotools (especially autoconf) in a wrong way, see #1163 Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index 00464286d..cd8ec0db4 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -72,10 +72,15 @@ clean:
/bin/rm -f $(NDPI_LIB_STATIC) $(OBJECTS) *.o *.so *.lo libndpi.so*
distdir:
- cp ndpi_content_match.c.inc '$(distdir)/'
find . -type d | xargs -I'{}' mkdir -p '$(distdir)/{}'
- find ../include -type f -name '*.h' | xargs -I'{}' cp '{}' '$(distdir)/{}'
- find . -type f -name '*.c' -o -name '*.h' | xargs -I'{}' cp '{}' '$(distdir)/{}'
+ find ../include -type f -name '*.h' \
+ -a '!' -name 'ndpi_api.h' \
+ -a '!' -name 'ndpi_config.h' \
+ -a '!' -name 'ndpi_define.h' | xargs -I'{}' cp '{}' '$(distdir)/{}'
+ find . -type f -name '*.c' \
+ -o -name '*.cc' \
+ -o -name '*.c.inc' \
+ -o -name '*.h' | xargs -I'{}' cp '{}' '$(distdir)/{}'
distclean: clean
/bin/rm -f Makefile