Sha256: e228b4583ec66bb150c4510a4d33ec4806194afd37c016e793245cebca12aaf3

Contents?: true

Size: 937 Bytes

Versions: 2

Compression:

Stored size: 937 Bytes

Contents

RUBY?=ruby
RUBY_FLAGS?=-w -I.
RUBY_LIB?=$(shell $(RUBY) -rrbconfig -e 'include Config; print CONFIG["sitelibdir"]')
PREFIX?=/usr/local

all test:
	$(RUBY) $(RUBY_FLAGS) test_all.rb

# we only install test_sexp_processor.rb to help make ruby_to_c's
# subclass tests work.

install:
	cp -f parse_tree.rb test_sexp_processor.rb sexp_processor.rb composite_sexp_processor.rb $(RUBY_LIB)
	cp -f parse_tree_show $(PREFIX)/bin
	cp -f parse_tree_abc $(PREFIX)/bin
	chmod 444 $(RUBY_LIB)/parse_tree.rb $(RUBY_LIB)/sexp_processor.rb $(RUBY_LIB)/composite_sexp_processor.rb $(RUBY_LIB)/test_sexp_processor.rb
	chmod 555 $(PREFIX)/bin/parse_tree_show $(PREFIX)/bin/parse_tree_abc

uninstall:
	rm -f $(RUBY_LIB)/parse_tree.rb $(RUBY_LIB)/sexp_processor.rb $(RUBY_LIB)/composite_sexp_processor.rb $(RUBY_LIB)/test_sexp_processor.rb
	rm -f $(PREFIX)/bin/parse_tree_show $(PREFIX)/bin/parse_tree_abc

clean:
	-rm *~ diff.txt
	-rm -r $$HOME/.ruby_inline

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ParseTree-1.1.0 Makefile
ParseTree-1.1.1 Makefile