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.40.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.39.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.38.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.37.2 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_git-0.13.0 vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.37.1 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.37.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.36.1 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.36.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.35.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.34.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_git-0.12.3 vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.33.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.32.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.31.1 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_git-0.12.2 vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
avm-tools-0.129.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.16.0 sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
avm-tools-0.128.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile
eac_tools-0.15.0 sub/avm-tools/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile