Makefile.am: Prevent doc from being built by default

master v2.9.13
Mike Gerwitz 2018-02-23 12:24:14 -05:00
parent d1aa5f5704
commit b490d07371
3 changed files with 12 additions and 7 deletions

View File

@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
##
SUBDIRS = doc
SUBDIRS = doc progtest
path_src = src
path_test = test
@ -35,13 +35,9 @@ export SAXON_CP
.PHONY: check test texis applies FORCE
.DEFAULT_GOAL := all
.DEFAULT_GOAL = all-nodoc
all: applies progtest
test: check
check: | applies
$(path_test)/runner
all-nodoc: applies progtest
# the "applies" are hoxsl-generated stylesheets containing definitions to
# permit partial function application
@ -51,6 +47,10 @@ applies: $(apply_dest)
-xsl:"$(HOXSL)/src/transform/apply-gen.xsl" \
"$<" > "$@"
test: check
check: | applies
$(path_test)/runner
progtest: FORCE
$(MAKE) -C progtest

View File

@ -24,6 +24,9 @@ AC_INIT([tame], [ver], [dev@lovullo.com])
AC_CONFIG_AUX_DIR([tools])
AM_INIT_AUTOMAKE([foreign])
# target that should be be added to everything except doc/
AM_EXTRA_RECURSIVE_TARGETS([all-nodoc])
# provide more granular version numbers based on the version string, using
# the format MAJOR.MINOR.REV[-SUFFIX], where SUFFIX can itself contain
# dashes (and often will)

View File

@ -24,6 +24,8 @@ nsindex=$(addsuffix /index.js, $(namespaces))
.DEFAULT_GOAL: all
# used be parent Makefile to prevent doc/ building `all'
all-nodoc: all
all: tame-progtest.js
test: check