File: 07_Makefile_mkdir.patch

package info (click to toggle)
toshset 1.76-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 744 kB
  • ctags: 998
  • sloc: ansic: 3,080; cpp: 3,061; sh: 2,237; makefile: 200
file content (13 lines) | stat: -rw-r--r-- 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Roberto C. Sanchez <roberto@connexer.com>
Description: Create directory, rather than try to execute it
--- trunk.orig/Makefile.in
+++ trunk/Makefile.in
@@ -304,7 +304,7 @@
 install: all
 	@mkdir -p $(DESTDIR)$(BINDESTDIR)
 	@mkdir -p $(DESTDIR)$(MANDESTDIR)
-	$(DESTDIR)/pm/sleep.d/
+	@mkdir -p $(DESTDIR)/etc/pm/sleep.d/
 	for program in $(PROGRAMS); do \
 		$(BININSTALL) $$program $(DESTDIR)/$(BINDESTDIR)/$$program;\
 	done