aboutsummaryrefslogtreecommitdiff
path: root/net/smm++/files/patch-Makefile
blob: 288644e9fdb08a78a26c2164f503d91a005d36c8 (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
44
--- /home/edwin/smm5r0/Install.unix/Makefile	Fri Jun 15 07:05:56 2001
+++ Makefile	Sun Jul 15 19:20:06 2001
@@ -12,7 +12,7 @@
 #     usual unix environment (if you have root access).
 BIN=/usr/local/bin
 SRC=/usr/local/lib/smm
-DOC=/usr/local/doc/smm
+DOC=/usr/local/share/doc/smm
 
 # --- If you don't have root access, you could choose to install
 #     SMM++ locally in your home directory. Therefore use the
@@ -60,6 +60,8 @@
 #      this Makefile. If you can read Makefiles, feel free
 #      to do whatever you like.
 
+all: smm
+
 smm: Makefile
 	@echo "--- Building startup file."
 	@if [ -z ${ITKWISH} ] ; then \
@@ -89,9 +91,9 @@
 install-src:
 	@echo "--- Installing libraries to ${SRC}."
 	@install -d ${SRC}
-	@cp -au ../sources/ ${SRC}
-	@cp -au ../images/ ${SRC}
-	@cp -au ../config/ ${SRC}
+	@cp -Rp ../sources ${SRC}
+	@cp -Rp ../images ${SRC}
+	@cp -Rp ../config ${SRC}
 uninstall-src:
 	@echo "--- Uninstalling libraries from ${SRC}."
 	@rm -rf ${SRC}
@@ -100,8 +102,8 @@
 	@echo "    Documentation is installed in ${DOC}."
 	@echo "    The html manual starts at file:${DOC}/man/index.html."
 	@install -d ${DOC}
-	@cp -au ../docu/* ${DOC}
-	@cp -au ../man/ ${DOC}
+	@cp -Rp ../docu/* ${DOC}
+	@cp -Rp ../man/ ${DOC}
 uninstall-doc:
 	@echo "--- Uninstalling documentation from ${DOC}."
 	@rm -rf ${DOC}