[Cgdb-devel] Re: cgdb 0.5.1 make DESTDIR=... doesn't work
                
                Brought to you by:
                
                    bobbybrasko,
                    
                
                    crouchingturbo
                    
                
            
            
        
        
        
    | 
      
      
      From: Bennett T. <be...@ra...> - 2005-04-03 23:01:12
      
     | 
| 2005-04-03T22:46:50 Robert Rossi: > I've never used DESTDIR before, how is this different than ./configure > --prefix=/var/tmp/bpmbuild.20581/root ? When creating a software package, e.g. rpm, or my own bpm, the typical pattern is ./configure --prefix=/usr --mandir=/usr/share/man make make DESTDIR=$BPM_ROOT install (RPM uses $RPM_ROOT). With that pattern, user executables get installed into $DESTDIR/usr/bin, man pages in $DESTDIR/usr/share/man, etc --- DESTDIR is prepended to whatever dirs were chosen at ./configure time. When creating software packages, the package-building tool makes an empty tmp dir, populates it with make DESTDIR=... install, then packs up the files that got installer there to make the software package. I hope this explanation is clear. -Bennett |