File: do_not_touch_deps_mk.patch

package info (click to toggle)
feh 3.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,496 kB
  • sloc: ansic: 13,135; perl: 968; makefile: 215; sh: 37
file content (27 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (2)
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
27
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 14 Feb 2011 19:47:19 +0100
Description: make sure src/deps.mk will not be changed

--- a/src/Makefile
+++ b/src/Makefile
@@ -41,7 +41,7 @@ OBJECTS = ${TARGETS:.c=.o}
 I_SRCS = ${shell echo *.raw}
 I_DSTS = ${I_SRCS:.raw=.inc}
 
-feh: deps.mk ${OBJECTS} ${I_DSTS}
+feh: ${OBJECTS} ${I_DSTS}
 	${CC} ${LDFLAGS} ${CFLAGS} -o $@ ${OBJECTS} ${LDLIBS}
 
 include deps.mk
@@ -53,8 +53,9 @@ fehrc.inc: fehrc.raw
 help.inc: help.raw
 
 # CFLAGS might contain include paths needed to resolve includes in headers
-deps.mk: ${TARGETS} ${I_DSTS}
-	${CC} ${CFLAGS} -MM ${TARGETS} > $@
+# skip this for Debian
+# deps.mk: ${TARGETS} ${I_DSTS}
+#	${CC} ${CFLAGS} -MM ${TARGETS} > $@
 
 clean:
 	rm -f feh *.o *.inc