]> git.eshelyaron.com Git - emacs.git/commitdiff
Multifile packages now work
authorPhillip Lord <phillip.lord@russet.org.uk>
Thu, 15 Sep 2016 08:46:30 +0000 (09:46 +0100)
committerPhillip Lord <phillip.lord@russet.org.uk>
Thu, 15 Sep 2016 08:46:30 +0000 (09:46 +0100)
packages/README.org
packages/admin/package-makefile.el
packages/core/example/example.el

index 6f43990b605ad13bab30cd08dff55c8ed9f8875c..9c5fa7b3c28f88f0d3abf795c2205172d5aba21d 100644 (file)
@@ -55,9 +55,6 @@ Files in the "admin" directory should probably be in the emacs-root admin.
 
 * Bugs
 
-packages cannot include each other.
-
-
 package.el does not initialize when emacs is launched with -q. This is
 somewhat problematic, since packages in the "core" dir should probably
 always be loaded. Unfortunately package.el is either initialized or
index 3ea4edae964f93f62d05a62826acbd8a88e2135c..5c600c459f415cbd3f2fe5ddbee6d7090d3c4ae6 100644 (file)
@@ -16,6 +16,7 @@
 
 %s: %s
 \t$(EMACS) --batch --directory=admin \\
+\t\t--directory=%s/%s \\
 \t\t--load admin/package-build.el \\
 \t\t--eval '(package-build-prepare \"%s/%s\")'
 "
@@ -37,6 +38,7 @@
         nil
         ".*el$"))
       " ")
+     top-dir base-dir
      top-dir base-dir)))
 
 (defun package-makefile--pkg-targets (top-dir all-dirs)
index 9044b09af8ff571903ccc7d4a88e97fabc086dc1..5be11f09c00ff457e1ddc4136330c28aa6fc8ce0 100644 (file)
@@ -12,3 +12,5 @@
 (defun example ()
   (interactive)
   (message "Hello from Example"))
+
+(provide 'example)