1 --- hivex-1.3.8/ruby/Makefile.am.old 2012-02-08 10:57:43.447667670 +0000
2 +++ hivex-1.3.8/ruby/Makefile.am 2012-02-08 10:58:29.024440505 +0000
7 -RUBY_SITELIB := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']")
8 -RUBY_SITEARCH := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['sitearchdir']")
9 +RUBY_VENDORLIB := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['vendorlibdir']")
10 +RUBY_VENDORARCH := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['vendorarchdir']")
13 - $(MKDIR_P) $(DESTDIR)$(RUBY_SITELIB)
14 - $(MKDIR_P) $(DESTDIR)$(RUBY_SITEARCH)
15 - $(INSTALL) -p -m 0644 lib/hivex.rb $(DESTDIR)$(RUBY_SITELIB)
16 - $(INSTALL) -p -m 0755 ext/hivex/_hivex.so $(DESTDIR)$(RUBY_SITEARCH)
17 + $(MKDIR_P) $(DESTDIR)$(RUBY_VENDORLIB)
18 + $(MKDIR_P) $(DESTDIR)$(RUBY_VENDORARCH)
19 + $(INSTALL) -p -m 0644 lib/hivex.rb $(DESTDIR)$(RUBY_VENDORLIB)
20 + $(INSTALL) -p -m 0755 ext/hivex/_hivex.so $(DESTDIR)$(RUBY_VENDORARCH)