aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2020-09-20 18:33:57 +0200
committerGitHub <noreply@github.com>2020-09-20 18:33:57 +0200
commitea9177cc9397270172e16e10e2ed947c8471323c (patch)
tree492f6f90618cf5fb2ebee363ebf8aaee92999bfc /src/lib
parent1385f05713045b846f5a830cfc23eabd5f71e70d (diff)
parentfdef6f3545bd4a8e722b2ace144a2b73a782f265 (diff)
Merge pull request #1018 from lnslbrty/fix/make-dist
Fixed broken `make dist' and added CI check.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index 902941d26..6c69485b3 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -62,6 +62,12 @@ $(NDPI_LIB_SHARED): $(OBJECTS)
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)/{}'
+
distclean: clean
/bin/rm -f Makefile