File: Makefile

package info (click to toggle)
rubygems-integration 1.19
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 68 kB
  • sloc: ruby: 124; makefile: 22; sh: 9
file content (27 lines) | stat: -rw-r--r-- 795 bytes parent folder | download | duplicates (2)
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
27
RUBIES = $(shell ruby -rruby_debian_dev -e "puts RubyDebianDev::SUPPORTED_RUBY_VERSIONS.keys.join(' ')")
SPEC_ON_ALL_RUBIES = $(patsubst %, spec-%, $(RUBIES))
ifeq (,$(AUTOPKGTEST_TMP))
	LIB := -Ilib
endif

all:
	@echo Nothing to build!

.PHONY: spec $(SPEC_ON_ALL_RUBIES)

spec: $(SPEC_ON_ALL_RUBIES)
	@echo $(SPEC_ON_ALL_RUBIES)

$(SPEC_ON_ALL_RUBIES): spec-%:
	$* -w $(LIB) spec/rubygems_integration_spec.rb

install:
	install -m 755 -d $(DESTDIR)/usr/lib/ruby/vendor_ruby/rubygems/defaults
	install -m 644 lib/rubygems/defaults/operating_system.rb $(DESTDIR)/usr/lib/ruby/vendor_ruby/rubygems/defaults

uninstall:
	$(RM) $(DESTDIR)/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb
	rmdir -p $(DESTDIR)/usr/lib/ruby/vendor_ruby/rubygems/defaults

clean:
	@echo Nothing to clean