PageRenderTime 1041ms CodeModel.GetById 1037ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 1ms

/docs/man/Makefile.am

#
Makefile | 50 lines | 16 code | 7 blank | 27 comment | 0 complexity | c1f428c3ba4b0929e46cfd50fd093237 MD5 | raw file
 1##
 2## Input file for automake
 3##
 4## Copyright (C) 2008, 2009 Francesco Salvestrini
 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 2 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 along
17## with this program; if not, write to the Free Software Foundation, Inc.,
18## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19##
20
21include $(top_srcdir)/Makefile.sub
22
23dist_man_MANS = choicetool.1
24man_aux       = choicetool.x
25
26EXTRA_DIST = $(man_aux)
27
28##
29## NOTE:
30##     Distributed files should never depend on non-distributed built files
31##
32
33# CHOICETOOL_LIBRARY_PATH="$(top_builddir)/libs@PATH_SEPARATOR@$$PATH"
34choicetool.1: $(top_srcdir)/src/choicetool.in $(top_srcdir)/libs/perl/Choicetool/Base/Program.pm $(top_srcdir)/configure.ac
35	CHOICETOOL_LIBRARY_PATH="$(top_builddir)/libs" ; \
36	export CHOICETOOL_LIBRARY_PATH ; \
37	$(HELP2MAN) \
38	    --include=$(srcdir)/choicetool.x \
39	    --source="@PACKAGE_NAME@" \
40	    --manual="User Commands" \
41	    --section=1	\
42	    --output=$@	\
43	    $(top_builddir)/src/choicetool
44
45##
46## Maintainer related targets
47##
48update-local: Makefile
49
50maintainer-check-local: Makefile