diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-18 15:29:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-18 15:29:39 +0000 |
commit | e1f927b6ebee2fc440a7aa4e80a85a295067da2d (patch) | |
tree | da1b86af16516b1791a0788ec4ab5bd45f37ae4d | |
parent | e0f83fe17d6cd87f02accf47e584092ec5126d59 (diff) | |
download | mandoc-e1f927b6ebee2fc440a7aa4e80a85a295067da2d.tar.gz |
add some regress targets
-rw-r--r-- | Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -477,6 +477,12 @@ uninstall: rm -f $(DESTDIR)$(INCLUDEDIR)/roff.h rmdir $(DESTDIR)$(INCLUDEDIR) +regress: all + cd regress && ./regress.pl + +regress-clean: + cd regress && ./regress.pl . clean + Makefile.local config.h: configure $(TESTSRCS) @echo "$@ is out of date; please run ./configure" @exit 1 @@ -523,6 +529,28 @@ depend: config.h Makefile.depend > Makefile.tmp mv Makefile.tmp Makefile.depend +regress-distclean: + @find regress \ + -name '.#*' -o \ + -name '*.orig' -o \ + -name '*.rej' -o \ + -name '*.core' \ + -exec rm -i {} \; + +regress-distcheck: + @find regress ! -type d ! -type f + @find regress -type f \ + ! -path '*/CVS/*' \ + ! -name Makefile \ + ! -name Makefile.inc \ + ! -name '*.in' \ + ! -name '*.out_ascii' \ + ! -name '*.out_utf8' \ + ! -name '*.out_html' \ + ! -name '*.out_lint' \ + ! -path regress/regress.pl \ + ! -path regress/regress.pl.1 + dist: mdocml.sha256 mdocml.sha256: mdocml.tar.gz |