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 :-)

-- 
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

Reply via email to