[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DESTDIR support patch

From: Claudio Fontana
Subject: DESTDIR support patch
Date: Fri, 24 Feb 2006 15:33:36 -0800 (PST)


the attached patch adds DESTDIR variable support
to the emacs build system, thus enabling staged

I have then run tests along these lines:

# start by configuring the package with a custom
# prefix
$ ./configure --prefix=/home/claudio/tmp

# bootstrap normally as required
$ make bootstrap

# redirect installation
$ make install DESTDIR=/home/claudio/install-destdir

# check that no DESTDIR has been forgotten
$ ls /home/claudio/tmp
ls: /home/claudio/tmp: No such file or directory

# check that the staged installation works correctly
# in its final place

$ cd /home/claudio/install-destdir
$ mv home/claudio/tmp /home/claudio

$ cd /home/claudio/tmp/bin
$ ./emacs testfile.txt

And everything runs fine here.
Please consider for review/apply.

the patch is a p0 unified diff:

$ cd $top_srcdir
$ patch -p0 < /path/to/DESTDIR.p0.udiff



Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 

Attachment: DESTDIR.p0.udiff
Description: 1810061088-DESTDIR.p0.udiff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]