blob: e2d340431bf584bf0bf5a1894a73c22e028a51ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
|