[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) |
Hello,
the attached patch adds DESTDIR variable support
to the emacs build system, thus enabling staged
installs.
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.
Note:
the patch is a p0 unified diff:
$ cd $top_srcdir
$ patch -p0 < /path/to/DESTDIR.p0.udiff
Claudio
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
DESTDIR.p0.udiff
Description: 1810061088-DESTDIR.p0.udiff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- DESTDIR support patch,
Claudio Fontana <=