* automake.in (handle_dist): Turn the '%DIST-COMMON%' transform
into the 'am.dist.common-files.internal' internal variable.
* lib/am/distdir.am (distdir): Adjust accordingly.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
push (@dist_targets, 'dist-hook')
if user_phony_rule 'dist-hook';
define_variable ('am.dist.extra-targets', INTERNAL, @dist_targets);
+ define_variable ('am.dist.common-files.internal', INTERNAL, @dist_common);
$output_rules .= &file_contents ('distdir',
new Automake::Location,
- %transform,
- 'DIST-COMMON' => "@dist_common");
+ %transform);
verbatim ('distcheck') if $relative_dir eq '.';
}
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
-am.dist.common-files += %DIST-COMMON%
+am.dist.common-files += $(am.dist.common-files.internal)
# Makefile fragments used internally by automake-generated Makefiles.
am.dist.mk-files = $(wildcard $(am.conf.aux-dir)/am-ng/*)