summaryrefslogtreecommitdiff
path: root/dh_elpa
diff options
context:
space:
mode:
Diffstat (limited to 'dh_elpa')
-rwxr-xr-xdh_elpa11
1 files changed, 7 insertions, 4 deletions
diff --git a/dh_elpa b/dh_elpa
index e6fd714..982ac7b 100755
--- a/dh_elpa
+++ b/dh_elpa
@@ -210,10 +210,11 @@ if ($dh{BYTECOMPILE}) {
}
PACKAGE:
-foreach my $package (@{$dh{DOPACKAGES}}) {
+foreach my $package (getpackages()) {
my $tmp=tmpdir($package);
my $file=pkgfile($package,"elpa");
+ my $skip_install = process_pkg($package) ? 0 : 1;
my $varname="ELPA_NAME_${package}";
my $elpapkg = $ENV{$varname} || $ENV{ELPA_NAME};
@@ -265,7 +266,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
push @actions, map { {"src" => $_} } @ARGV;
}
- next PACKAGE if (scalar(@actions) == 0);
+ log_installed_files($package, map { @{$_->{src}} } @actions);
+
+ next PACKAGE if ($skip_install or (scalar(@actions) == 0));
my $pkg_file;
my $cwd = getcwd();
@@ -367,7 +370,7 @@ Note that Emacs Lisp dependencies packaged outside the elpa-* dpkg
namespace must be specified manually. For example, the s.el library
was once provided by the binary package s-el, and at that time packages
depending on it required an explicit dependency on s-el. A dependency
-on s.el is now fulfilled automaticaly by elpa-s via ${elpa:Depends}.
+on s.el is now fulfilled automatically by elpa-s via ${elpa:Depends}.
If dh_elpa adds dependency elpa-x where x is an Emacs Lisp binary
package outside the elpa-* namespace, please file a bug against
@@ -479,7 +482,7 @@ initialization time. This is better than using
C<debian/emacsen-startup> because the forms are then added to
I<elpa-package>-autoloads.el, rather than a file in C</etc/>, as the
contents of C<debian/emacsen-startup> was. This simplifies package
-maintainance.
+maintenance.
These cookies can either annotate upstream source, or be added (along
with the relevant forms) to a file in C<debian/>, by convention