From: Tim D. <new...@fa...> - 2007-02-14 23:48:28
|
On Wed, 14 Feb 2007 12:33:24 +0100 Stefan Seyfried <se...@su...> 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 |