Blame doc/Makefile.am

Packit 1ef1a9
# This file is part of GNU cpio
Packit 1ef1a9
# Copyright (C) 2004, 2007, 2010, 2014-2015 Free Software Foundation,
Packit 1ef1a9
# Inc.
Packit 1ef1a9
#
Packit 1ef1a9
# This program is free software; you can redistribute it and/or modify
Packit 1ef1a9
# it under the terms of the GNU General Public License as published by
Packit 1ef1a9
# the Free Software Foundation; either version 3, or (at your option)
Packit 1ef1a9
# any later version.
Packit 1ef1a9
#
Packit 1ef1a9
# This program is distributed in the hope that it will be useful,
Packit 1ef1a9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 1ef1a9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 1ef1a9
# GNU General Public License for more details.
Packit 1ef1a9
#
Packit 1ef1a9
# You should have received a copy of the GNU General Public License
Packit 1ef1a9
# along with this program; if not, write to the Free Software
Packit 1ef1a9
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit 1ef1a9
# 02110-1301 USA.
Packit 1ef1a9
Packit 1ef1a9
info_TEXINFOS = cpio.texi
Packit 1ef1a9
dist_man_MANS = cpio.1 $(MT_1) $(RMT_8)
Packit 1ef1a9
Packit 1ef1a9
if CPIO_MT_COND
Packit 1ef1a9
  MT_1=mt.1
Packit 1ef1a9
endif
Packit 1ef1a9
if PU_RMT_COND
Packit 1ef1a9
  RMT_8=rmt.8
Packit 1ef1a9
endif
Packit 1ef1a9
Packit 1ef1a9
EXTRA_DIST = gendocs.sh gendocs_template mt.1 rmt.8
Packit 1ef1a9
Packit 1ef1a9
GENDOCS=$(srcdir)/gendocs.sh
Packit 1ef1a9
Packit 1ef1a9
# Make sure you set TEXINPUT 
Packit 1ef1a9
manual:
Packit 1ef1a9
	rm -rf manual
Packit 1ef1a9
	TEXINPUTS=$(srcdir):$(top_srcdir)/scripts:$$TEXINPUTS \
Packit 1ef1a9
	  MAKEINFO="$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS)" \
Packit 1ef1a9
	  TEXI2DVI="texi2dvi -t @finalout" \
Packit 1ef1a9
	  $(GENDOCS) --no-copy-images $(PACKAGE) '$(PACKAGE_NAME) manual'