aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-01-05 18:50:56 +0100
committerLuca Deri <deri@ntop.org>2020-01-05 18:50:56 +0100
commitf389969c0b860961deaec4ee6e200246ca0f6482 (patch)
tree2cbf40c351f276c5e40641e768e7b8735c24f6e8 /example
parentdc02afa3eae6a63be46d74dc46ded307cff1c12d (diff)
Use share instead of sbin for sample files
Fixes #826
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index 486087521..bda7cbe9e 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -19,10 +19,10 @@ ndpiReader: $(OBJS) $(LIBNDPI)
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin/
- mkdir -p $(DESTDIR)$(PREFIX)/sbin/ndpi
+ mkdir -p $(DESTDIR)$(PREFIX)/share/ndpi
cp ndpiReader $(DESTDIR)$(PREFIX)/bin/
- cp protos.txt $(DESTDIR)$(PREFIX)/sbin/ndpi/ndpiProtos.txt
- cp mining_hosts.txt $(DESTDIR)$(PREFIX)/sbin/ndpi/ndpiCustomCategory.txt
+ cp protos.txt $(DESTDIR)$(PREFIX)/share/ndpi/ndpiProtos.txt
+ cp mining_hosts.txt $(DESTDIR)$(PREFIX)/share/ndpi/ndpiCustomCategory.txt
[ -f build/app/ndpiReader.dpdk ] && cp build/app/ndpiReader.dpdk $(DESTDIR)$(PREFIX)/bin/ || true
[ -f ndpiReader.dpdk ] && cp ndpiReader.dpdk $(DESTDIR)$(PREFIX)/bin/ || true