Package: feh / 2.18-2

do_not_touch_deps_mk.patch Patch series | download
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, 14 Feb 2011 19:47:19 +0100
Description: make sure src/deps.mk will not be changed

--- a/src/Makefile
+++ b/src/Makefile
@@ -6,7 +6,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
@@ -17,10 +17,6 @@ include deps.mk
 fehrc.inc: fehrc.raw
 help.inc: help.raw
 
-
-deps.mk: ${TARGETS} ${I_DSTS}
-	${CC} ${CPPFLAGS} -MM ${TARGETS} > $@
-
 clean:
 	rm -f feh *.o *.inc