[Top][All Lists]

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

Building and installing a multifile package

From: Douglas Lewan
Subject: Building and installing a multifile package
Date: Wed, 27 May 2020 16:02:09 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

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\" 

        --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?
   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

(908) 720 7908

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

reply via email to

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