GNU bug report logs -
#69171
[JD Smith] Moving packages out of core to ELPA
Previous Next
Full log
View this message in rfc822 format
> Just a brief update. I updated the version to 6.5.0 across the board, and
> squashed a few compiler complaints. In some simple testing of idlwave-mode
> (only in the buffer for .pro files) everything seems to be working well.
Good, thanks.
> I am fairly critical of my old idea to refactor everything, but that's
> where we are. It's a bear to compile everything without putting it on
> the load-path (I'm curious if you just append to the load-path when
> dealing with this kind of thing).
I compile using the method used in `elpa-admin`, which comes down to:
.PRECIOUS: packages/%.elc
packages/%.elc: packages/%.el
@echo 'Byte compiling $<'
@$(EMACS) \
--eval "(setq package-directory-list \
(list \"$(abspath other-packages)\") \
load-prefer-newer t \
byte-compile-debug t \
debug-on-error t \
package-user-dir \"$(abspath packages)\")" \
-f package-initialize \
-L $(dir $@) -f batch-byte-compile $<
So, yes, of course, `-L $(dir $@)` adds the directory to the
`load-path`, but "prepend" rather than "append" (otherwise you'll end
up loading the old version built into Emacs).
I don't consider that to be a problem.
Stefan
This bug report was last modified 258 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.