blob: 31934c4f2ccc3d570487f8c0e97f478603421d64 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
$NetBSD: patch-aa,v 1.1.1.1 2004/10/06 00:13:20 wiz Exp $
--- Makefile.orig 2004-10-02 05:40:30.000000000 +0200
+++ Makefile
@@ -28,12 +28,12 @@ MyPasswordSafe.mak: MyPasswordSafe.pro
$(QMAKE) -o $@ $<
MyPasswordSafe: config uuid-1.0.0/.libs/libuuid.a MyPasswordSafe.mak
- make -f MyPasswordSafe.mak
- lrelease locale/*.ts
+ ${MAKE} -f MyPasswordSafe.mak
+ ${LOCALBASE}/qt3/bin/lrelease locale/*.ts
uuid-1.0.0/.libs/libuuid.a:
cd uuid-1.0.0 && ./configure --prefix=$(PREFIX) && cd ..
- make -C uuid-1.0.0
+ ${MAKE} -C uuid-1.0.0
doc/api:
mkdir doc/api
@@ -54,18 +54,18 @@ src/config.h:
config: src/config.h
clean: MyPasswordSafe.mak
- make -f $< clean
- make -C uuid-1.0.0 clean
+ ${MAKE} -f $< clean
+ ${MAKE} -C uuid-1.0.0 clean
rm $<
rm -r doc/api
install:
install -d $(PREFIX)/bin $(PREFIX)/share/MyPasswordSafe/locale \
- $(PREFIX)/doc/MyPasswordSafe/sshots
+ $(PREFIX)/share/doc/MyPasswordSafe/sshots
install MyPasswordSafe $(PREFIX)/bin/MyPasswordSafe
install -m 0644 locale/*.qm $(PREFIX)/share/MyPasswordSafe/locale
- install -m 0644 doc/manual.html $(PREFIX)/doc/MyPasswordSafe
- install -m 0644 doc/sshots/*.jpg $(PREFIX)/doc/MyPasswordSafe/sshots
+ install -m 0644 doc/manual.html $(PREFIX)/share/doc/MyPasswordSafe
+ install -m 0644 doc/sshots/*.jpg $(PREFIX)/share/doc/MyPasswordSafe/sshots
uninstall:
rm $(PREFIX)/bin/MyPasswordSafe
@@ -73,7 +73,7 @@ uninstall:
rm -r $(PREFIX)/doc/MyPasswordSafe
release:
- make -c release
+ ${MAKE} -c release
commit:
cvs commit
|