Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (30 sloc) 0.977 kb
SHELL=/bin/sh
# Path to ruby interpreter
RUBY=@RUBY@
# Any extra options from configure script to pass to 'setup.rb config'
RUBY_CONFIG_OPTS=@RUBY_CONFIG_OPTS@
# gem install expects to find these 2 lines
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
all: .config
$(RUBY) setup.rb setup
install:
$(RUBY) setup.rb install
clean: .config
$(RUBY) setup.rb clean
distclean: .config
$(RUBY) setup.rb clean
rm -f Makefile ext/RMagick/extconf.rb metaconfig ext/RMagick/rmagick_config.h
rm -f ext/RMagick/Makefile config.cache config.log config.status
rm -rf autom4te.cache
rm -f doc/ex/.examples
uninstall: .config
$(RUBY) uninstall.rb $(RUBY_CONFIG_OPTS)
.config: metaconfig
if test -n "$(RUBYLIBDIR)"; then \
RUBYLIBDIR=--rbdir="$(RUBYLIBDIR)"; \
fi; \
if test -n "$(RUBYARCHDIR)"; then \
RUBYARCHDIR=--sodir="$(RUBYARCHDIR)"; \
fi; \
$(RUBY) setup.rb config $$RUBYLIBDIR $$RUBYARCHDIR $(RUBY_CONFIG_OPTS)
Jump to Line
Something went wrong with that request. Please try again.