aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index 84f3f3623..96be6eacf 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -14,7 +14,9 @@ ndpiReader: $(OBJS) $(LIBNDPI)
$(CC) $(CFLAGS) -c $< -o $@
install: ndpiReader
+ mkdir -p $(DESTDIR)$(PREFIX)/bin/
cp ndpiReader $(DESTDIR)$(PREFIX)/bin/
+ [ -f build/app/ndpiReader.dpdk ] && cp build/app/ndpiReader.dpdk $(DESTDIR)$(PREFIX)/bin/
dpdk:
make -f Makefile.dpdk