On Wed, Feb 14, 2007 at 09:34:18PM +0100, Rafael J. Wysocki wrote: > > > > 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)/$< > >
> Well, I'm not good at the Makefile magic at all, so could you please tell me > what $< means? ;-) Luca explained that much better than i would have been able to (the Makefile force is not strong with me :-). However, what's important at the patch is the "-D" to install, which tells it basically to do a "mkdir -p" before copying the file. But you need to give the full path (including filename), not only the directory path. This is why i added the $< at the end, and it worked for me :-) -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." ------------------------------------------------------------------------- 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