summaryrefslogtreecommitdiff
path: root/emulators/hfsutils/files/patch-ab
blob: 1348582894fbd9a9e6268e60a94012a0af762527 (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
--- Makefile.in.orig	Sun Oct 25 00:08:19 1998
+++ Makefile.in	Sun Oct 25 00:12:11 1998
@@ -64,7 +64,8 @@
 
 CLITARGETS =	hattrib hcd hcopy hdel hdir hformat hls hmkdir hmount hpwd  \
 		hrename hrmdir humount hvol
-TCLTARGETS =	hfssh hfs
+TCLTARGETS =	hfssh
+TCLSCRIPTS =	hfs
 TKTARGETS =	xhfs
 
 LIBHFS =	libhfs/libhfs.a
@@ -129,9 +130,13 @@
 		$(BININSTALL) $$file "$(BINDEST)/.";  \
 	done
 
+	for file in $(TCLSCRIPTS); do  \
+		$(LIBINSTALL) $$file "$(BINDEST)/.";  \
+	done
+
 	if [ -f "$(BINDEST)/hfs" ]; then  \
 		sed -e '1d' "$(BINDEST)/hfs" > "$(BINDEST)/hfs.new";  \
-		$(BININSTALL) "$(BINDEST)/hfs.new" "$(BINDEST)/hfs";  \
+		$(LIBINSTALL) "$(BINDEST)/hfs.new" "$(BINDEST)/hfs";  \
 		rm -f "$(BINDEST)/hfs.new";  \
 	fi