summaryrefslogtreecommitdiff
path: root/editors/impress/files/patch-Makefile
blob: 2c8910e0e81ddb6fabe6c46ae940bf48715056f7 (plain) (blame)
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
36
37
38
39
40
41
42
43
--- Makefile.orig	Fri Jun 29 10:22:48 2001
+++ Makefile	Fri Jun 29 10:25:52 2001
@@ -1,33 +1,11 @@
-cmp=/usr/bin/cmp
-cp=/bin/cp
-mv=/bin/mv
-strip=/usr/bin/strip
-ln=/bin/ln
-PREFIX=/usr
+PREFIX?=/usr/local
 
-all:	make_impress make_font3d make_pstoedit
+all:	make_impress
 
-make_font3d:
-	(cd font3d;make LDFLAGS=-static)
-	@-${strip} font3d/font3d 
-	@-${cmp} font3d/font3d bin/font3d 2>/dev/null || \
-		${cp} font3d/font3d bin/font3d
-
-make_pstoedit:
-	(cd pstoedit/config;./configure)
-	(cd pstoedit/src;make LINK="c++ -static")
-	@-${strip} pstoedit/src/pstoedit
-	@-${cmp} pstoedit/src/pstoedit bin/pstoedit 2>/dev/null || \
-		${cp} pstoedit/src/pstoedit bin/pstoedit
-	
 make_impress:
-	(cd src;make all install)
-
-$(PREFIX)/bin/pstoedit.orig:
-	@-mv $(PREFIX)/bin/pstoedit $(PREFIX)/bin/pstoedit.orig
+	(cd src;make all)
 
-install: $(PREFIX)/bin/pstoedit.orig
-	install -c bin/impress $(PREFIX)/bin && rm -f $(PREFIX)/bin/impress.tcl && ${ln} -s $(PREFIX)/bin/impress $(PREFIX)/bin/impress.tcl
-	install -c bin/transeps $(PREFIX)/bin
-	install -c bin/font3d $(PREFIX)/bin
-	install -c bin/pstoedit $(PREFIX)/bin
+install: 
+	install -c -m 755 src/impress $(PREFIX)/bin
+	@mkdir $(PREFIX)/share/doc/impress
+	@cp src/doc/*  $(PREFIX)/share/doc/impress