summaryrefslogtreecommitdiff
path: root/graphics/impress/patches/patch-aa
blob: e861b88a48108876f9610360cd0f60939a39243b (plain)
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
34
35
$NetBSD: patch-aa,v 1.1.1.1 2001/07/13 14:38:05 manu Exp $
--- src/Makefile.orig	Fri Jul 13 14:40:10 2001
+++ src/Makefile	Fri Jul 13 14:40:44 2001
@@ -1,8 +1,9 @@
 cmp=/usr/bin/cmp
 cp=/bin/cp
 mv=/bin/mv
 ln=/bin/ln
+mkdir=/bin/mkdir -p
 
 all: impress transeps
 
 impress:	impress.tcl
@@ -26,9 +27,9 @@
 	@-${cmp} drvbase.h ../pstoedit/src/drvbase.h 2>/dev/null || \
 		echo "Updating drvbase.h" >&2 && ${cp} drvbase.h ../pstoedit/src
 
 install: impress impress.tcl transeps COPYING CHANGES OPTIONS README tkFont-patch.diff tkUnixWm-patch.diff installdrvtk
-	@-mkdir ../bin
+	@-${mkdir} ../bin
 	@-${cmp} impress ../bin/impress 2>/dev/null || \
 		echo "Updating impress" >&2 && ${cp} impress ../bin
 	@-${cmp} transeps ../bin/transeps 2>/dev/null || \
 		echo "Updating transeps" >&2 && ${cp} transeps ../bin
@@ -43,9 +44,9 @@
 	@-${cmp} tkFont-patch.diff ../tkFont-patch.diff 2>/dev/null || \
 		echo "Updating tkFont-patch.diff" >&2 && ${cp} tkFont-patch.diff ..
 	@-${cmp} tkUnixWm-patch.diff ../tkUnixWm-patch.diff 2>/dev/null || \
 		echo "Updating tkUnixWm-patch.diff" >&2 && ${cp} tkUnixWm-patch.diff ..
-	@-mkdir ../doc
+	@-${mkdir} ../doc
 	@-${cmp} doc/arrows.jpg ../doc/arrows.jpg 2>/dev/null || \
 		echo "Updating arrows.jpg" >&2 && ${cp} doc/arrows.jpg ../doc
 	@-${cmp} doc/custcolor.jpg ../doc/custcolor.jpg 2>/dev/null || \
 		echo "Updating custcolor.jpg" >&2 && ${cp} doc/custcolor.jpg ../doc