File: touch_not_echo.patch

package info (click to toggle)
ztex-bmp 20120314-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, trixie
  • size: 324 kB
  • ctags: 184
  • sloc: pascal: 1,767; sh: 208; makefile: 75
file content (33 lines) | stat: -rw-r--r-- 725 bytes parent folder | 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
27
28
29
30
31
32
33
Index: ztex-bmp-20120314/Makefile
===================================================================
--- ztex-bmp-20120314.orig/Makefile	2012-07-31 22:43:47.000000000 +0200
+++ ztex-bmp-20120314/Makefile	2012-07-31 22:44:00.000000000 +0200
@@ -51,10 +51,10 @@
 INSTALLEXE=$(INSTALL) -m 0755
 INSTALLFILE=$(INSTALL) -m 0644
 RM=rm -f
-ECHO=echo
 
 ifeq ($(OS),UNIX)
 
+TOUCH=touch
 CONFIGURESCRIPT=./configure
 PC:=$(shell $(CONFIGURESCRIPT) pc "$(PCFLAGS)")
 ifndef PC
@@ -73,6 +73,7 @@
 
 PC=ppc386
 INSTALL=install
+TOUCH=echo >
 
 ifndef PREFIX
   PREFIX=c:\usr
@@ -96,7 +97,7 @@
 all: bmp.made
 
 bmp.made: $(TARGETS)
-	$(ECHO) > bmp.made
+	$(TOUCH) $@
 
 bmp bmp.exe: $(SOURCES)
 	$(PC) $(PCFLAGS) $(UNITS) src/bmp.pas