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


Le Monday 11 August 2008 01:37:52 John G. Heim, vous avez écrit :
> The program I'm working on uses a configure script to build a Makefile. So
> I need to change it to install the binary into /usr/bin instead of
> /usr/local/bin. But the new maintainer's guied says to put $(DESTDIR) in
> front of the directory names. Like:
>        BIN     = $(DESTDIR)/usr/bin
> But the Makefile already uses that variable name. What is the point of
> using $(DESTDIR) in maintaining the Makefile?

Because you want the make install call to install the files in a temporary 
folder, usually $(CURDIR)/debian/tmp.

Then, from this folder, you would choose which file to put in the various 
binary packages you may generate from the single source one.


Reply to: