summaryrefslogtreecommitdiff
path: root/dh_elpa.in
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-12-17 11:59:41 -0700
committerDavid Bremner <bremner@debian.org>2016-01-03 19:18:37 -0400
commit983e60fd072e78483f22541daf1befda32e50930 (patch)
treed5e241f9ccb5dcc43edb3ecde6e740c74f111f11 /dh_elpa.in
parent96347aa83d319fd71c5812d06589d1555c51c384 (diff)
generate -pkg.el file for multifile packages
generate a warning if this is attempted, and an error message if it fails.
Diffstat (limited to 'dh_elpa.in')
-rwxr-xr-xdh_elpa.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_elpa.in b/dh_elpa.in
index 1cc9377..cd02027 100755
--- a/dh_elpa.in
+++ b/dh_elpa.in
@@ -178,7 +178,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if ($file) {
@files=filearray($file, ".");
scalar(@files) == 1 || grep { m/\b${elpapkg}-pkg.el$/ } @files or
- error "missing ${elpapkg}-pkg.el";
+ warning "missing ${elpapkg}-pkg.el; will try to generate it";
}
if (($package eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL})
&& @ARGV) {