1# This file is part of GNU cflow 2# Copyright (C) 2005, 2007, 2014-2016 Free Software Foundation, Inc. 3# 4# Written by Sergey Poznyakoff 5# 6# This program is free software; you can redistribute it and/or modify 7# it under the terms of the GNU General Public License as published by 8# the Free Software Foundation; either version 3 of the License, or 9# (at your option) any later version. 10# 11# This program is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU General Public License for more details. 15# 16# You should have received a copy of the GNU General Public License 17# along with this program. If not, see <http://www.gnu.org/licenses/>. 18 19SUBDIRS = . imprimatur 20 21info_TEXINFOS=cflow.texi 22cflow_TEXINFOS=fdl.texi 23dist_man_MANS=cflow.1 24 25EXTRA_DIST = gendocs.sh gendocs_template ack.c d.c wc.c whoami.c foo.c 26 27clean-local: 28 rm -rf manual 29 30AM_MAKEINFOFLAGS=@IMPRIMATUR_MAKEINFOFLAGS@ 31imprimatur_INPUT=$(info_TEXINFOS) $(cflow_TEXINFOS) 32# CHECK_DOCS=$(top_srcdir)/@IMPRIMATUR_MODULE_DIR@/check-docs.sh 33 34GENDOCS=$(srcdir)/gendocs.sh 35 36TEXI2DVI=texi2dvi -t '@set $(RENDITION)' -E 37 38# Make sure you set TEXINPUTS. 39# TEXINPUTS=/usr/share/texmf/pdftex/plain/misc/ is ok for most distributions 40.PHONY: manual 41manual: 42 TEXINPUTS=$(srcdir):$(top_srcdir)/build-aux:$(TEXINPUTS) \ 43 MAKEINFO="$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS)" \ 44 TEXI2DVI="$(TEXI2DVI) -t @finalout" \ 45 $(GENDOCS) $(PACKAGE) '$(PACKAGE_NAME) manual' 46 47