Hash :
ae6b80f3
Author :
Date :
2004-12-30T23:10:52
Support for `install-dvi', `install-html', `install-ps', and `install-pdf', as recently introduced into the GNU Coding Standard. * automake.in (handle_factored_dependencies): Reject uninstall-dvi-local, uninstall-html-local, uninstall-info-local, uninstall-ps-local, and uninstall-pdf-local. Allow install-info-local even when no-installinfo is not used. (handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir. (%standard_prefix): Declare these new standard directory variables. * doc/automake.texi (Texinfo, Third-Party Makefiles): Document install-dvi, install-html, install-pdf, and install-ps. (Extending): Document install-local-dvi, install-local-html, install-local-info, install-local-pdf, and install-local-ps. * lib/Automake/Rule.pm (%dependencies): Add new install rules, and remove uninstall-info. * /cvs/automake/automake/lib/am/texinfos.am (install-dvi, install-dvi-am, install-dvi-recursive, install-html, install-html-am, install-html-recursive, install-pdf, install-pdf-am, install-pdf-recursive, install-ps, install-ps-am, install-ps-recursive, uninstall-dvi-am, uninstall-html-am, uninstall-pdf-am, uninstall-ps-am): New rules. (uninstall-info): Delete. * tests/txinfo21.test: Augment to check for these new rules. * tests/exdir2.test: Do not use `htmldir' as example of undefined directory. * tests/overrid.test: Do not be fooled by install-ps and install-html. * tests/txinfo10.test: Do not grep for uninstall-info-recursive.
#! /bin/sh
# Copyright (C) 1998, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
# GNU Automake 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, or (at your option)
# any later version.
#
# GNU Automake 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 Automake; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# Test to make sure undefined directories are invalid.
. ./defs || exit 1
set -e
cat > Makefile.am << 'EOF'
quuz_DATA = zot.html
pkgdata_DATA = qbert
EOF
$ACLOCAL
AUTOMAKE_fails
grep 'pkgdatadir' stderr && exit 1
grep 'Makefile.am:1:.*quuzdir.*undefined' stderr