summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-25 15:29:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-25 15:29:32 +0000
commit4d9a6ab181225f091ebcdf6b8ddb9b2bc75260fd (patch)
tree1f9ecc467c8b4db158fc292c3a4cf3cd4a7d9ea0 /Makefile.in
parenta6ed06e51306ffe7311640040dade563419cb953 (diff)
* Makefile.in (pkgconfig-data): create pkg-config metadata file.
* tool/rbinstall.rb: install pkg-config metadata file. * template/ruby.pc.in: template of pkg-config metadata file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 7a999082d7..3d48c11057 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -178,6 +178,11 @@ $(arch)-fake.rb: config.status $(srcdir)/template/fake.rb.in
@./config.status --file=$@:$(srcdir)/template/fake.rb.in
@chmod +x $@
+ruby_pc = @ruby_pc@
+pkgconfig-data: $(ruby_pc)
+$(ruby_pc): $(srcdir)/template/ruby.pc.in config.status
+ @./config.status --file=$@:$(srcdir)/template/ruby.pc.in
+
install-cross: $(arch)-fake.rb $(RBCONFIG) rbconfig.rb $(arch_hdrdir)/ruby/config.h \
$(LIBRUBY_A) $(LIBRUBY_SO) $(ARCHFILE)
$(MAKEDIRS) $(XRUBY_RUBYLIBDIR)/$(arch) $(XRUBY_RUBYHDRDIR)/$(arch)/ruby
@@ -272,6 +277,7 @@ enc/unicode/name2ctype.h: enc/unicode/name2ctype.kwd
clean-local::
@$(RM) ext/extinit.c ext/extinit.$(OBJEXT) ext/ripper/y.output
+ @-$(RM) $(pkgconfig_DATA)
distclean-local::
@$(RM) ext/config.cache $(RBCONFIG) Doxyfile