about summary refs log tree commit homepage
path: root/pkg.mk
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-08-31 06:08:18 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-31 06:10:01 +0000
commit55a9897a6fb5bdb4751c4fad72b4602d361f3132 (patch)
tree06125165ee36cd3b21696b33cacbd2f6e2e94173 /pkg.mk
parentaa639718901a1cf77e1a8f02d2ec613e29cca707 (diff)
downloaddtas-55a9897a6fb5bdb4751c4fad72b4602d361f3132.tar.gz
We hardly use GNU make right now.
Diffstat (limited to 'pkg.mk')
-rw-r--r--pkg.mk28
1 files changed, 0 insertions, 28 deletions
diff --git a/pkg.mk b/pkg.mk
deleted file mode 100644
index bfb303c..0000000
--- a/pkg.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
-# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
-RUBY = ruby
-RAKE = rake
-RSYNC = rsync
-
-GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
-        @./GIT-VERSION-GEN
--include GIT-VERSION-FILE
--include local.mk
-DLEXT := $(shell $(RUBY) -rrbconfig -e 'puts RbConfig::CONFIG["DLEXT"]')
-RUBY_VERSION := $(shell $(RUBY) -e 'puts RUBY_VERSION')
-RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))')
-lib := lib
-
-all:: test
-test_units := $(wildcard test/test_*.rb)
-test: test-unit
-test-unit: $(test_units)
-$(test_units):
-        $(RUBY) -I $(lib) $@ $(RUBY_TEST_OPTS)
-
-check-warnings:
-        @(for i in $$(git ls-files '*.rb'| grep -v '^setup\.rb$$'); \
-          do $(RUBY) -d -W2 -c $$i; done) | grep -v '^Syntax OK$$' || :
-
-.PHONY: all .FORCE-GIT-VERSION-FILE test $(test_units)
-.PHONY: check-warnings