Sha256: 70fb419304dc0cce57d5d3b57704a70d3bf65dcdf81a54bb285c2b4615d47472

Contents?: true

Size: 807 Bytes

Versions: 268

Compression:

Stored size: 807 Bytes

Contents

ifeq ($(MAKECMDGOALS),install)
  ifeq "$(shell bpan version 2>/dev/null)" ""
    $(error 'BPAN not installed. See http://bpan.org')
  endif
endif

NAME := test-tap
LIB  := lib/test/tap.bash
MAN3 := man/man3

INSTALL_LIB  ?= $(shell bpan env BPAN_LIB)
INSTALL_DIR  ?= test
INSTALL_MAN3 ?= $(shell bpan env BPAN_MAN3)

default: help

help:
	@echo 'Rules: test, install, doc'

.PHONY: test
test:
	prove $(PROVEOPT:%=% )test/

install:
	install -C -d -m 0755 $(INSTALL_LIB)/$(INSTALL_DIR)/
	install -C -m 0755 $(LIB) $(INSTALL_LIB)/$(INSTALL_DIR)/
	install -C -d -m 0755 $(INSTALL_MAN3)/
	install -C -m 0644 $(MAN3)/$(NAME).3 $(INSTALL_MAN3)/

.PHONY: doc
doc: ReadMe.pod $(MAN3)/$(NAME).3

ReadMe.pod: doc/test-tap.swim
	swim --to=pod --complete --wrap $< > $@

man/man3/%.3: doc/%.swim
	swim --to=man $< > $@

Version data entries

268 entries across 268 versions & 4 rubygems

Version Path
eac_tools-0.86.5 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.86.4 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.86.3 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_git-0.16.0 vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.86.2 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_git-0.15.0 vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.84.2 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.84.1 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.84.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.83.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.82.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.81.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.80.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.79.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.78.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.77.1 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.77.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.76.1 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.76.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.75.2 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile