Summary: | ASTERISK-00197: [patch] Add DESTDIR support to makefiles | ||
Reporter: | jake_morrison (jake_morrison) | Labels: | |
Date Opened: | 2003-08-30 01:46:59 | Date Closed: | 2008-01-15 14:36:32.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) destdir.diff ( 1) destdir.tar.gz | |
Description: | DESTDIR is a standard makefile variable used to install files to a temporary staging directory, from which the files will be copied to their final installed location. It is useful for building packages like RPMs, debs or xBSD ports. It can also be used to build on one machine, tar up the resulting files and install them on another machine. It is different from INSTALL_PREFIX, which specifies a prefix for the final location of the installed files. Usage: make DESTDIR=/my/staging/dir/ install | ||
Comments: | By: Thorsten Lockert (tholo) 2003-10-25 08:20:14 A slightly updated, and easier to apply version of this diff has been uploaded. The only differences between this and the original is that it now applies cleanly to the main makefile (there were some other changes there that made this fail to apply), and that symlinks are made to point to the real destination and not inside $(DESTDIR), making things otherwise work as expected for building RPMs, *BSD ports or what have you. By: Mark Spencer (markster) 2003-10-25 12:01:54 Fixed in CVS By: Digium Subversion (svnbot) 2008-01-15 14:36:32.000-0600 Repository: asterisk Revision: 1664 U trunk/Makefile U trunk/agi/Makefile U trunk/apps/Makefile U trunk/astman/Makefile U trunk/cdr/Makefile U trunk/channels/Makefile U trunk/codecs/Makefile U trunk/formats/Makefile U trunk/pbx/Makefile U trunk/res/Makefile ------------------------------------------------------------------------ r1664 | markster | 2008-01-15 14:36:31 -0600 (Tue, 15 Jan 2008) | 2 lines Add DESTDIR support (bug ASTERISK-197) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=1664 |