# This makefile, when executed, generates two
# files:
#	release.h (a file for C programs to include the
#		TeXPS release version number)
#	release.tex (the same file for the documentation)

# Do NOT change the following two lines. Should be only
# changed by patches.
TEXPS_RELEASE = 3.14
TEXPS_DATE = October 16, 1990

RM = /bin/rm -f

all prepare:	release.h release.tex

release.h:	IMakefile
	@$(RM) $@
	echo '/* Do not change this file, generated by the Makefile */' >> $@
	echo '/* in this directory. */'				>> $@
	echo '#define RELEASE_VERSION "$(TEXPS_RELEASE)"'	>> $@
	echo '#define RELEASE_DATE    "$(TEXPS_DATE)"'		>> $@

release.tex:	IMakefile
	@$(RM) $@
	echo '% Do not change this file, generated by the Makefile' >> $@
	echo '% in this directory. */'				>> $@
	echo '\def\TeXPSReleaseVersion{$(TEXPS_RELEASE)}'	>> $@
	echo '\def\TeXPSReleaseDate{$(TEXPS_DATE)}'		>> $@

install:
depend:
relink:
lint:

clean::
	$(RM) release.h release.tex
