diff options
author | Toni <matzeton@googlemail.com> | 2022-05-26 15:07:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 15:07:22 +0200 |
commit | 78dfe959cb175610726ae06341e55aeb39f0feba (patch) | |
tree | e0d468b515bea9ffd7d7ca5b623ff437060491c0 /src | |
parent | 9614b66b449d84a810b0b05167c9e408bfca3d39 (diff) |
Added script to compare and verify the output of `make dist'. (#1551)
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')
-rw-r--r-- | src/lib/Makefile.in | 11 |
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 |