On Wed, 14 Feb 2007 12:33:24 +0100
Stefan Seyfried <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> i need these for a chrooted build (where $DESTDIR is not always present
> before make install):
> 
> 
> --- Makefile
> +++ Makefile
> @@ -137,10 +137,10 @@
>       fi
>  
>  install-resume:
> -     install --mode=755 resume $(DESTDIR)$(RESUME_DIR)
> +     install -D --mode=755 resume $(DESTDIR)$(RESUME_DIR)/resume
>  
>  install-% : %
> -     install --mode=755 $< $(DESTDIR)$(SUSPEND_DIR)
> +     install -D --mode=755 $< $(DESTDIR)$(SUSPEND_DIR)/$<
>  
>  # Some convenience targets
>  install-resume-new-initrd:   resume conf/$(CONFIGFILE)
> 
> 
> If nobody has some serious objections, i'll commit these soon (saves me a
> local patch :-)

Seems good to me.

I already wondered who added all those -Ds in the old Makefile;)

But now in the new one you only need two.

grts TIm

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to