/docs/man/Makefile.am
Makefile | 50 lines | 16 code | 7 blank | 27 comment | 0 complexity | c1f428c3ba4b0929e46cfd50fd093237 MD5 | raw file
Possible License(s): GPL-2.0
- ##
- ## Input file for automake
- ##
- ## Copyright (C) 2008, 2009 Francesco Salvestrini
- ##
- ## This program is free software; you can redistribute it and/or modify
- ## it under the terms of the GNU General Public License as published by
- ## the Free Software Foundation; either version 2 of the License, or
- ## (at your option) any later version.
- ##
- ## This program is distributed in the hope that it will be useful,
- ## but WITHOUT ANY WARRANTY; without even the implied warranty of
- ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ## GNU General Public License for more details.
- ##
- ## You should have received a copy of the GNU General Public License along
- ## with this program; if not, write to the Free Software Foundation, Inc.,
- ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- ##
- include $(top_srcdir)/Makefile.sub
- dist_man_MANS = choicetool.1
- man_aux = choicetool.x
- EXTRA_DIST = $(man_aux)
- ##
- ## NOTE:
- ## Distributed files should never depend on non-distributed built files
- ##
- # CHOICETOOL_LIBRARY_PATH="$(top_builddir)/libs@PATH_SEPARATOR@$$PATH"
- choicetool.1: $(top_srcdir)/src/choicetool.in $(top_srcdir)/libs/perl/Choicetool/Base/Program.pm $(top_srcdir)/configure.ac
- CHOICETOOL_LIBRARY_PATH="$(top_builddir)/libs" ; \
- export CHOICETOOL_LIBRARY_PATH ; \
- $(HELP2MAN) \
- --include=$(srcdir)/choicetool.x \
- --source="@PACKAGE_NAME@" \
- --manual="User Commands" \
- --section=1 \
- --output=$@ \
- $(top_builddir)/src/choicetool
- ##
- ## Maintainer related targets
- ##
- update-local: Makefile
- maintainer-check-local: Makefile