Matthieu Moy, 2007-08-26:
> Christian Ohler <[EMAIL PROTECTED]> writes:
>
>> The file dvc-load-install.el (generated by ./configure from
>> dvc-load-install.el.in) contains this code:
>>
>> (add-to-list 'load-path "$(prefix)/share/emacs/site-lisp/dvc/")
>> (unless (locate-library "ewoc")
>> (add-to-list 'load-path "$(prefix)/share/emacs/site-lisp/dvc/contrib"))
>> (add-to-list 'Info-default-directory-list "${datarootdir}/info/info")
>>
>> I don't see how this code can possibly work;
>
> It doesn't work as it is, but "make install" will do the substitution:
Thanks for the explanation. I was confused by the fact that configure
generates a file dvc-load.el in the source directory that is not the
same as dvc-load.el in the installation directory, and that a file with
the suffix .el isn't valid Elisp.
Perhaps we can rename dvc-load-install.el to dvc-load.el.install to make
it clearer that the file is not valid Elisp (until processed), and that
it replaces dvc-load.el in the installation directory.
Christian.
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev