unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Compilation Helper
@ 2006-03-16 21:37 Daniel 'NebuchadnezzaR' Dehennin
  2006-03-17  2:06 ` Nick Roberts
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel 'NebuchadnezzaR' Dehennin @ 2006-03-16 21:37 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1431 bytes --]

Hello,

Following the great DVC development, I made some adaptations to the
dgnushack.el, for now it's called package-maint.el, if you have a
better ideas for the name, thanks to submit... ;-)

The goal is to make it more general, it can group some common tricks
for GNU Emacs vs. XEmacs and specificities about versions.

A package maintainer must provide a package-specific helper wich
require package-maint.el and set the package-maint-pkg variable which
is the actual package name, it's used for autoloads.

Taking DVC as an example, we have in the Makefile:
FLAGS = -batch -q -no-site-file -no-init-file -l $(srcdir)/dvc-build.el

EMACS_COMP = lispdir=$(lispdir) srcdir=$(srcdir) $(EMACS_PROG) $(FLAGS)

all: clean dvc-load.el
        $(EMACS_COMP) -f package-maint-compile


dvc-load.el:
        $(EMACS_COMP) -f package-maint-make-cus-load $(srcdir)
        $(EMACS_COMP) -f package-maint-make-auto-load $(srcdir)
        $(EMACS_COMP) -f package-maint-make-load


dvc-build.el do package specific stuffs like adding or removing .el
files, depending of the presence or not of a library.

I submit this to Lars Magne Ingebrigtsen, he suggest me to post this
to Emacs and XEmacs mailing lists.

So now, I'm waiting your comments/ideas/what you want.

Attached are the dvc-build.el and package-maint.el.

Regards.
-- 
Daniel 'NebuchadnezzaR' Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69

[-- Attachment #2: dvc-build.el --]
[-- Type: application/emacs-lisp, Size: 4448 bytes --]

[-- Attachment #3: package-maint.el --]
[-- Type: application/emacs-lisp, Size: 15310 bytes --]

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-17 15:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-16 21:37 Compilation Helper Daniel 'NebuchadnezzaR' Dehennin
2006-03-17  2:06 ` Nick Roberts
2006-03-17 15:42   ` Daniel 'NebuchadnezzaR' Dehennin

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).