From 4d9ca84e57dad6746eb0882b91171ccd69298807 Mon Sep 17 00:00:00 2001 From: Alex Young Date: Tue, 31 Mar 2015 10:05:46 +0100 Subject: Strip out debian metadata --- Makefile | 58 ++++++---------------------------------------------------- 1 file changed, 6 insertions(+), 52 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2254496..0ccfd8c 100644 --- a/Makefile +++ b/Makefile @@ -15,62 +15,16 @@ man/%.1: bin/% clean: $(RM) -r man - # Theoretically this will clean up the shebang munging done by the openbsd_tarball task below. - if [ -e ./setup.rb ] ; then \ - ruby ./setup.rb distclean ; \ - ruby ./setup.rb config ; \ - ruby ./setup.rb setup ; \ - ruby ./setup.rb clean ; \ - fi $(RM) -r tmp - $(RM) -r OpenBSD - $(RM) setup.rb +# NOP task to keep au happy +release: + true distclean: clean - if [ -e ./setup.rb ] ; then ruby ./setup.rb distclean ; fi - $(RM) setup.rb - $(RM) -r OpenBSD -test: setup.rb - ruby ./setup.rb test +test: + ruby -Ilib:test:. test/test_mauve.rb -setup.rb: /usr/lib/ruby/1.8/setup.rb - ln -sf /usr/lib/ruby/1.8/setup.rb . - -OpenBSD: OpenBSD/sha256.asc - -OpenBSD/sha256: OpenBSD/ruby-mauvealert.tar.gz OpenBSD/ruby-protobuf.tar.gz - # - # rejig sha256sum to openbsd sha256 - # - $(RM) OpenBSD/sha256 - cd OpenBSD && sha256sum * | sed -e 's/\([^ ]\+\) \(.*\)$$/SHA256 (\2) = \1/' > sha256 - -OpenBSD/sha256.asc: OpenBSD/sha256 - # - # Sign it. - # - gpg --clearsign OpenBSD/sha256 - -OpenBSD/ruby-mauvealert.tar.gz: all setup.rb - mkdir -p tmp/ruby-mauvealert - ruby ./setup.rb config ${OPENBSD_SETUP_FLAGS} - ruby ./setup.rb setup - ruby ./setup.rb install --prefix=tmp/ruby-mauvealert - mkdir -p OpenBSD - tar -C tmp/ruby-mauvealert -czvf $@ . - -OpenBSD/ruby-protobuf.tar.gz: - mkdir -p tmp/ruby-protobuf-source - git clone https://github.com/macks/ruby-protobuf.git tmp/ruby-protobuf-source - cd tmp/ruby-protobuf-source && git checkout -b v0.4.5 - ln -sf /usr/lib/ruby/1.8/setup.rb tmp/ruby-protobuf-source/ - cd tmp/ruby-protobuf-source && ruby ./setup.rb config ${OPENBSD_SETUP_FLAGS} - cd tmp/ruby-protobuf-source && ruby ./setup.rb setup - cd tmp/ruby-protobuf-source && ruby ./setup.rb install --prefix=../ruby-protobuf - mkdir -p OpenBSD - tar -C tmp/ruby-protobuf -czvf $@ . - -.PHONY: all clean openbsd_tarball test distclean OpenBSD +.PHONY: all clean test distclean release -- cgit v1.2.1