# Makefile for Exercalc Texinfo Help  -  Invoke using "gmake"
# Mahlon R. Smith
# Tools: makeinfo
# 
# 03-Mar-2021

# This variable is defined for technical reasons
# (see 'make' documentation for more information)
.RECIPEPREFIX = >

# Dependencies for build:
TEXI_FILES = Exercalc.texi texi_macros.texi same_author.texi \
             applycss_response.txt gpl-3.0.texi fdl-1.3.texi \


exercalc.info: $(TEXI_FILES)
> makeinfo --fill-column=78 --no-split Exercalc.texi
> makeinfo --fill-column=78 --html --no-split Exercalc.texi
> idpp -ci --response=applycss_response.txt exercalc.html

# For stand-alone gString InfoDoc (.info and .html output)
.PHONY: clean
clean:
> rm -f exercalc.info exercalc.html*

