File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / src / libcharon / plugins / vici / ruby / Makefile.am
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 09:46:45 2020 UTC (4 years, 5 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, v5_8_4p7, HEAD
Strongswan

EXTRA_DIST = vici.gemspec.in lib/vici.rb

vici.gemspec: $(srcdir)/vici.gemspec.in
	$(AM_V_GEN) sed \
	-e "s:@GEM_VERSION@:$(PACKAGE_VERSION):" \
	$(srcdir)/vici.gemspec.in > $@

vici-$(PACKAGE_VERSION).gem: vici.gemspec $(EXTRA_DIST)
	(cd $(srcdir); $(GEM) build $(abs_builddir)/vici.gemspec)
	[ "$(srcdir)" = "$(builddir)" ] || \
		mv $(srcdir)/vici-$(PACKAGE_VERSION).gem $(builddir)

all-local: vici-$(PACKAGE_VERSION).gem

clean-local:
	rm -f vici.gemspec vici-$(PACKAGE_VERSION).gem

if RUBY_GEMS_INSTALL
install-data-local: vici-$(PACKAGE_VERSION).gem
	$(GEM) install --no-user-install --install-dir $(DESTDIR)$(RUBYGEMDIR) \
		vici-$(PACKAGE_VERSION).gem

uninstall-local:
	$(GEM) uninstall --install-dir $(DESTDIR)$(RUBYGEMDIR) \
		--version $(PACKAGE_VERSION) vici
endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>