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

View File

@ -24,6 +24,9 @@ AC_INIT([tame], [ver], [dev@lovullo.com])
AC_CONFIG_AUX_DIR([tools]) AC_CONFIG_AUX_DIR([tools])
AM_INIT_AUTOMAKE([foreign]) 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 # provide more granular version numbers based on the version string, using
# the format MAJOR.MINOR.REV[-SUFFIX], where SUFFIX can itself contain # the format MAJOR.MINOR.REV[-SUFFIX], where SUFFIX can itself contain
# dashes (and often will) # dashes (and often will)

View File

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