diff options
author | Vitaliy Ivanov <vitaliyi@interfacemasters.com> | 2018-11-28 17:39:14 +0200 |
---|---|---|
committer | Vitaliy Ivanov <vitaliyi@interfacemasters.com> | 2018-11-28 17:40:01 +0200 |
commit | 8df6b5c1bf453939a2d84cfa76b46dff6a3a6a42 (patch) | |
tree | 2b7d2a2c3aac853777694f78815e06b4a03efc70 /example/Makefile.in | |
parent | 9cbf25a76fc03c1a8440aa473523c4287aabb200 (diff) |
build: install example binaries to dst dir.
make install DESTDIR=/build/nDPI/
Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>
Diffstat (limited to 'example/Makefile.in')
-rw-r--r-- | example/Makefile.in | 2 |
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 |