D
Detlef Reichl
Hi,
i have written a ruby extension, that should be the base for other
extensions. So i have to ship some of its header files.
I use setup.rb in the main directory and extconf.rb (mkmf) in the
extensions directory.
I came about something like:
$INSTALLFILES ||= []
$INSTALLFILES << ["types.h", "$(RUBYARCHDIR)/$(target_prefix)", "lib"]
included in the extconf.rb but it doesn't work.
I know, that i can do it with a post-install.rb script, but i hope that
there is a better solution.
cheers
detlef
i have written a ruby extension, that should be the base for other
extensions. So i have to ship some of its header files.
I use setup.rb in the main directory and extconf.rb (mkmf) in the
extensions directory.
I came about something like:
$INSTALLFILES ||= []
$INSTALLFILES << ["types.h", "$(RUBYARCHDIR)/$(target_prefix)", "lib"]
included in the extconf.rb but it doesn't work.
I know, that i can do it with a post-install.rb script, but i hope that
there is a better solution.
cheers
detlef