#!/usr/bin/perl -w

# This script runs Makefile.PL in a subpackage

# This file is part of CLC-INTERCAL

# Copyright (c) 2008, 2023 Claudio Calvelli, all rights reserved.

# CLC-INTERCAL is copyrighted software. However, permission to use, modify,
# and distribute it is granted provided that the conditions set out in the
# licence agreement are met. See files README and COPYING in the distribution.

use strict;

use vars qw($VERSION $PERVERSION);
($VERSION) = ($PERVERSION = "CLC-INTERCAL build/run_makefile_pl 1.-94.-2.3") =~ /\s(\S+)$/;

my $dir = shift;
chdir $dir or die "$dir: $!\n";
exec $^X, 'Makefile.PL', @ARGV;

