File: fix_intall_target.patch

package info (click to toggle)
fastml 3.11-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,776 kB
  • sloc: cpp: 48,522; perl: 3,588; ansic: 819; makefile: 386; python: 83; sh: 55
file content (14 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 22 Jun 2015 09:47:25 +0200
Description: Fix install target by creating install dir if needed

--- a/programs/Makefile.generic
+++ b/programs/Makefile.generic
@@ -120,6 +120,7 @@ tests: $(TEST_EXEC) $(EXEC)
 
 install: $(addprefix $(binDir)/,$(EXEC))
 $(binDir)/%: %
+	mkdir -p $(binDir)
 	cp $< $@