-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathMakefile
29 lines (22 loc) · 791 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This is a convenience Makefile to do a few admin tasks
all:
@echo "Try 'make reference' or './autosetup --help'"
VERSION := $(shell ./autosetup --version)
dist: clean
@./autosetup --install=tmp/autosetup-$(VERSION) >/dev/null
@tar -C tmp -czf autosetup-$(VERSION).tar.gz autosetup-$(VERSION)
@rm -rf tmp
@echo Created autosetup-$(VERSION).tar.gz
PAGER ?= less
help:
./autosetup --help
ref reference:
./autosetup --reference
html:
./autosetup --reference=asciidoc | asciidoc -o autosetup-reference.html -
# Both tclsh8.5 and tclsh8.6 are required to run the top level test suite
test:
@make -C testsuite test subdirtest
@make -C testsuite autosetup_tclsh=tclsh8.6 test subdirtest
@make -C testsuite autosetup_tclsh=tclsh8.5 test subdirtest
@make -C testsuite/testoptions