When "autoreconf; ./configure; "DESTDIR=$HOME make install", the installation directory changes to $HOME/emacs/site-lisp/egg/ from $HOME/usr/local/share/emacs/site-lisp/egg/.
I pre released the fix in prerel branch.
修正版をprerel branchに入れました。 ご確認願います。
fiexed. closed.
autoreconfでconfigureを作り直したとき、DESTDIR=$HOME make installのinstall先が変わってしまう。
$./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking jisx0213... yes updating cache ./config.cache creating ./config.status creating Makefile $DESTDIR=$HOME make install -> installed $HOME/usr/local/share/emacs/site-lisp/egg/ $cp -pi Makefile ../Makefile $autoreconf $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking jisx0213... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile contains a reference to the variable `datarootdir' which seems to be undefined. Please make sure it is defined $DESTDIR=$HOME make install -> installed $HOME/emacs/site-lisp/egg/$diff -u ../Makefile Makefile --- ../Makefile 2015-01-31 09:21:18.697513686 +0900 +++ Makefile 2015-01-31 09:29:23.105514357 +0900 @@ -1,4 +1,3 @@ -# Generated automatically from Makefile.in by configure. # Makefile --- Makefile of Tamago-tsunagi # Copyright (C) 1999, 2000, 2015 Free Software Foundation, Inc @@ -8,24 +7,25 @@ # TOMURA Satoru <tomura@etl.go.jp> .SUFFIXES: -SHELL = /bin/sh +SHELL = /bin/bash srcdir = . top_srcdir = . + #------------------------------------------------ # Configuration parameters #------------------------------------------------ # emacs you use EMACS = emacs # emacs lisp installation directory -lispdir = ${prefix}/share/emacs/site-lisp +lispdir = ${datarootdir}/emacs/site-lisp #------------------------------------------------ prefix = /usr/local INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} -INSTALL_SCRIPT = ${INSTALL_PROGRAM} +INSTALL_SCRIPT = ${INSTALL} INSTALL_DATA = ${INSTALL} -m 644 INSTALL_INFO = install-infoThe datarootdir is undefined. I think that we shoud define in Makefile.in
datarootdir= @datarootdir@
.