File: fix_install_ali2gff.patch

package info (click to toggle)
gff2aplot 2.0-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,576 kB
  • sloc: perl: 5,378; ansic: 806; makefile: 121; javascript: 93; sh: 41
file content (26 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 10 Dec 2018 07:36:57 +0100
Description: Make sure target dir exists when performing parallel builds
 Somehow CP is resolved to "cp 1" - no idea why, just force proper copy statement

--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@
 
          RM = $(firstword $(shell which rm   )) $(V)
          RD = $(firstword $(shell which rmdir)) $(V)
-         CP = $(firstword $(shell which cp   )) $(V)
+         CP = cp -v
          MV = $(firstword $(shell which mv   )) $(V)
          LN = $(firstword $(shell which ln   )) $(V)
          MD = $(firstword $(shell which mkdir)) $(V)
@@ -145,7 +145,8 @@ installbin : $(BINCODE)
 ### FINISHING CODE
 
 $(addprefix $(BIN)/, $(ALI2GFF)) : $(addprefix $(ALI2GFFD)/, $(ALI2GFF))
-	@${CP} $(addprefix $(ALI2GFFD)/, $(ALI2GFF)) \
+	mkdir -p $(BIN)
+	cp $(addprefix $(ALI2GFFD)/, $(ALI2GFF)) \
            $(addprefix $(BIN)/, $(ALI2GFF))
 
 $(addprefix $(ALI2GFFD)/, $(ALI2GFF)) : $(addprefix $(addprefix $(ALI2GFFD)/, $(ALI2GFF)), .h .c)