summaryrefslogtreecommitdiffstats
path: root/nsh-plugin/Makefile.am
diff options
context:
space:
mode:
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