aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin/Makefile.am
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-09-13 20:04:28 +0000
committerEd Warnicke <hagbard@gmail.com>2016-09-16 19:07:54 +0000
commit6e811b1125f1be24575270594ff2a46b8d62c3f0 (patch)
tree20b9c71e797b0fd7a261c63c88965c1b77a08db6 /nsh-plugin/Makefile.am
parent7e1fb32a85d72b147b9d3b2aa92223d782d166e3 (diff)
nsh-plugin rpm packaging
Change-Id: I7acc688b3c40cbce34ada9be957b274c34780570 Signed-off-by: Ed Warnicke <eaw@cisco.com> Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Diffstat (limited to 'nsh-plugin/Makefile.am')
-rw-r--r--nsh-plugin/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/nsh-plugin/Makefile.am b/nsh-plugin/Makefile.am
index 4ecc63e..096eb90 100644
--- a/nsh-plugin/Makefile.am
+++ b/nsh-plugin/Makefile.am
@@ -53,3 +53,7 @@ install-data-hook:
rm -f $(prefix)/lib/nsh_plugin.*
rm -f $(prefix)/lib/nsh_test_plugin.*
+pkg-rpm: all install
+ cd $(srcdir)/packaging/rpm; \
+ rpmbuild -bb --define "_topdir $$PWD" \
+ --define "_plugin_prefix ${prefix}" vpp-nsh-plugin.spec