[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14245: nobase_foo_DATA vs nobase_dist_foo_DATA
From: |
Daiki Ueno |
Subject: |
bug#14245: nobase_foo_DATA vs nobase_dist_foo_DATA |
Date: |
Tue, 23 Apr 2013 15:30:17 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi,
With Automake master and 1.12.2, if Makefile.am has:
nobase_foo_DATA = sub/nodist.dat
nobase_dist_foo_DATA = sub/dist.dat
sub/dist.dat is not packed in the distribution. I doubt this is a bug,
but the opposite use of dist_ and nobase_:
dist_bar_DATA = sub/base.dat
nobase_dist_bar_DATA = sub/nobase.dat
works just fine.
I'm attaching a test case.
Regards,
--
Daiki Ueno
#! /bin/sh
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
#
# 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, 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, see <http://www.gnu.org/licenses/>.
# Make sure nobase_* works.
required=cc
. test-init.sh
cat >> configure.ac <<'EOF'
AC_OUTPUT
EOF
cat > Makefile.am << 'EOF'
foodir = $(prefix)/foo
bardir = $(prefix)/bar
nobase_foo_DATA = sub/nodist.dat
nobase_dist_foo_DATA = sub/dist.dat
dist_bar_DATA = sub/base.dat
nobase_dist_bar_DATA = sub/nobase.dat
EOF
mkdir sub
: > sub/nodist.dat
: > sub/dist.dat
: > sub/nobase.dat
: > sub/base.dat
rm -f install-sh
$ACLOCAL
$AUTOCONF
$AUTOMAKE -a --copy
./configure --prefix "$(pwd)/inst"
$MAKE
$MAKE install
test -f inst/foo/sub/nodist.dat
test -f inst/foo/sub/dist.dat
test -f inst/bar/sub/nobase.dat
test -f inst/bar/base.dat
$MAKE distcheck
:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#14245: nobase_foo_DATA vs nobase_dist_foo_DATA,
Daiki Ueno <=