emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ELPA commit freeze


From: Dmitry Gutov
Subject: Re: ELPA commit freeze
Date: Thu, 22 Aug 2013 02:38:46 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8

On 21.08.2013 22:56, Stefan Monnier wrote:
So that the paths in .elpaignore don't have to start with the name of the
package's directory.

I expect that most of the patterns won't need to include any directory,
so they won't be affected care.

Ok, the smaller patch at the end works, too. Forgive the clunkiness, I've no experience with sh programming.

Because that would be weird.

Slightly, but that seems rather minor.

And actually, $${pt} includes the package version, so there'll be no way to exclude specific filename at the top of the package repository, but not inside subdirectories.

I suppose it is a rather peculiar use case, though. Maybe leave it as "to be implemented".

diff --git a/GNUmakefile b/GNUmakefile
index 0fac72b..e95bcde 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -49,7 +49,9 @@ process-archive:
          for pt in *; do \
              if [ -d $$pt ]; then \
                  echo "Creating tarball $${pt}.tar" && \
-                 tar -cf $${pt}.tar $$pt --remove-files; \
+                 tar -cf $${pt}.tar $$pt \
+ $$(if [ -f $${pt}/.elpaignore ]; then echo "-X $${pt}/.elpaignore"; fi;); \
+                 rm -r $${pt}; \
              fi; \
          done
        mkdir -p archive/packages




reply via email to

[Prev in Thread] Current Thread [Next in Thread]