vici: Add vici.gemspec.in and vici.rb to distribution
[strongswan.git] / src / libcharon / plugins / vici / ruby / Makefile.am
1 EXTRA_DIST = vici.gemspec.in lib/vici.rb
2
3 vici.gemspec: $(srcdir)/vici.gemspec.in
4         $(AM_V_GEN) sed \
5         -e "s:@GEM_VERSION@:$(PACKAGE_VERSION):" \
6         $(srcdir)/vici.gemspec.in > $@
7
8 vici-$(PACKAGE_VERSION).gem: vici.gemspec
9         $(GEM) build vici.gemspec
10
11 all-local: vici-$(PACKAGE_VERSION).gem
12
13 clean-local:
14         rm -f vici.gemspec vici-$(PACKAGE_VERSION).gem
15
16 install-data-local: vici-$(PACKAGE_VERSION).gem
17         $(GEM) install --install-dir $(DESTDIR)$(RUBYGEMDIR) \
18                 vici-$(PACKAGE_VERSION).gem
19
20 uninstall-local:
21         $(GEM) uninstall --install-dir $(DESTDIR)$(RUBYGEMDIR) \
22                 --version $(PACKAGE_VERSION) vici