Kevin Atkinson <[EMAIL PROTECTED]> writes:

> On 18 Jun 2000, Trond Eivind Glomsr�d wrote:
> 
> > Kevin Atkinson <[EMAIL PROTECTED]> writes:
> > 
> > > Aspell .31.1 is now available. This release should work better with
> > > ispell.el 3.3 and fixes a bug when aspell will not create a
> > > complete word list on some platforms. 
> > 
> > It seems you broke DESTDIR behaviour:

[...]
 
> I have 0 experence with DESTDIR.  Care to submit a patch.  It works up to
> this point because automake took care of it.

Yes, but not for own custom install-data-hook.

The attached patch seems to work.

diff -uNr aspell-.31.1.orig/data/Makefile.am aspell-.31.1/data/Makefile.am
--- aspell-.31.1.orig/data/Makefile.am  Sat Jun 17 23:56:48 2000
+++ aspell-.31.1/data/Makefile.am       Sun Jun 18 22:32:24 2000
@@ -27,8 +27,8 @@
        echo ${dictdir}/english > en-aspell.pwli
 
 install-data-hook:
-       -rm -f ${dictdir}/english.wrd
-       -rm -f ${dictdir}/english.sl
-       cd ${dictdir}; test -e american || ln -s english american
+       -rm -f $(DESTDIR)${dictdir}/english.wrd
+       -rm -f $(DESTDIR)${dictdir}/english.sl
+       cd $(DESTDIR)${dictdir}; test -e american || ln -s english american
 
 EXTRA_DIST = english.wl ${pkgdata_DATA} *.txt mkchardata english-phony

-- 
Trond Eivind Glomsr�d
Red Hat, Inc.

Reply via email to