all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Building and installing a multifile package
@ 2020-05-27 20:02 Douglas Lewan
  0 siblings, 0 replies; only message in thread
From: Douglas Lewan @ 2020-05-27 20:02 UTC (permalink / raw)
  To: help-gnu-emacs

I'm trying to create a multifile package for tracking health-related 
information. The info on multifile packages doesn't seem to tell a 
complete story. (Or I'm just too dense to fill in the details.)

I have a file called health-pkg.el, a variety of other *.el files and a 
README. (The source tree also contains a Makefile and an issues 
database, but I assume that they don't matter.) The file health-pkg.el 
contains only the (define-package) form and comments.

The Makefile has a package: target that contains the following code with 
the intent of checking the package:

     ...

     cp ${PACKAGE_TARNAME} ~/src/emacs/packages ;                        \

     emacs --batch --quick                                    \

         --load "package.el" --eval '(package-initialize)'                \

         --eval "(setq package-archives (list (cons \"health\" \"~/src/emacs/packages\")))"\

         --eval '(package-install "${PACKAGE}")'


I seem to be unable to figure out a number of things:
1. What do I put in ~/src/emacs/packages?
    Nothing?
    The tar file?
    The individual files?
    A directory that contains the individual files?
    A directory that contains the tar file?
    How would that directory be named?
    I would assume ${PACKAGE}-${PACKAGE_VERSION}, but I'm not entirely sure.
2. How does the installation itself work?
    Can I use (package-install) as above?
    I consistently get the error "Package `health-' is unavailable".
    If I add the version, then I get the corrsponding error including 
the version,
    but still with that dangling dash:
        Package `health-0.01-' is unavailable


-- 
,Doug
d.lewan2000@gmail.com
(908) 720 7908

On 2020 May 18 I learned that 1,499,722 is practically 0.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-27 20:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-27 20:02 Building and installing a multifile package Douglas Lewan

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.