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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
---
e2fsck/Makefile.in | 24 ++++++++----------------
lib/uuid/Makefile.in | 4 ++--
misc/Makefile.in | 30 ++++++++++--------------------
3 files changed, 20 insertions(+), 38 deletions(-)
Index: e2fsprogs-1.41.5/misc/Makefile.in
===================================================================
--- e2fsprogs-1.41.5.orig/misc/Makefile.in 2009-05-18 00:54:07.000000000 +0100
+++ e2fsprogs-1.41.5/misc/Makefile.in 2009-05-18 00:56:12.000000000 +0100
@@ -394,24 +394,18 @@
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
done
@echo " LINK $(root_sbindir)/mkfs.ext2"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
- $(DESTDIR)$(root_sbindir)/mkfs.ext2
+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) mke2fs mkfs.ext2)
@echo " LINK $(root_sbindir)/mkfs.ext3"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
- $(DESTDIR)$(root_sbindir)/mkfs.ext3
+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) mke2fs mkfs.ext3)
@echo " LINK $(root_sbindir)/mkfs.ext4"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
- $(DESTDIR)$(root_sbindir)/mkfs.ext4
+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) mke2fs mkfs.ext4)
@echo " LINK $(root_sbindir)/mkfs.ext4dev"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
- $(DESTDIR)$(root_sbindir)/mkfs.ext4dev
+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) mke2fs mkfs.ext4dev)
@echo " LINK $(root_sbindir)/e2label"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
- $(DESTDIR)$(root_sbindir)/e2label
+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) tune2fs e2label)
@if test -n "$(FINDFS_LINK)"; then \
echo " LINK $(root_sbindir)/findfs"; \
- $(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
- $(DESTDIR)$(root_sbindir)/$(FINDFS_LINK); \
+ (cd $(DESTDIR)$(root_sbindir) && $(LN_S) tune2fs $(FINDFS_LINK)); \
fi
@for i in $(UPROGS); do \
echo " INSTALL $(bindir)/$$i"; \
@@ -431,17 +425,13 @@
@$(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \
$(DESTDIR)$(man8dir)/mkfs.ext3.8.gz
@echo " LINK mkfs.ext2.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
- $(DESTDIR)$(man8dir)/mkfs.ext2.8
+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext2.8)
@echo " LINK mkfs.ext3.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
- $(DESTDIR)$(man8dir)/mkfs.ext3.8
+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext3.8)
@echo " LINK mkfs.ext4.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
- $(DESTDIR)$(man8dir)/mkfs.ext4.8
+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext4.8)
@echo " LINK mkfs.ext4dev.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
- $(DESTDIR)$(man8dir)/mkfs.ext4dev.8
+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext4dev.8)
@for i in $(UMANPAGES); do \
for j in $(COMPRESS_EXT); do \
$(RM) -f $(DESTDIR)$(man1dir)/$$i.$$j; \
Index: e2fsprogs-1.41.5/lib/uuid/Makefile.in
===================================================================
--- e2fsprogs-1.41.5.orig/lib/uuid/Makefile.in 2009-05-18 00:54:07.000000000 +0100
+++ e2fsprogs-1.41.5/lib/uuid/Makefile.in 2009-05-18 00:54:07.000000000 +0100
@@ -146,9 +146,9 @@
@$(RM) -f $(DESTDIR)$(man3dir)/uuid_generate_random.3.gz \
$(DESTDIR)$(man3dir)/uuid_generate_time.3.gz
@echo " LINK $(man3dir)/uuid_generate_random.3"
- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_random.3
+ @(cd $(DESTDIR)$(man3dir) && $(LN_S) -f uuid_generate.3 uuid_generate_random.3)
@echo " LINK $(man3dir)/uuid_generate_time.3"
- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3
+ @(cd $(DESTDIR)$(man3dir) && $(LN_S) -f uuid_generate.3 uuid_generate_time.3)
@echo " INSTALL_DATA $(libdir)/pkgconfig/uuid.pc"
@$(INSTALL_DATA) uuid.pc $(DESTDIR)$(libdir)/pkgconfig/uuid.pc
Index: e2fsprogs-1.41.5/e2fsck/Makefile.in
===================================================================
--- e2fsprogs-1.41.5.orig/e2fsck/Makefile.in 2009-05-18 00:54:07.000000000 +0100
+++ e2fsprogs-1.41.5/e2fsck/Makefile.in 2009-05-18 00:54:07.000000000 +0100
@@ -195,17 +195,13 @@
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
done
@echo " LINK $(root_sbindir)/fsck.ext2"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
- $(DESTDIR)$(root_sbindir)/fsck.ext2
+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext2)
@echo " LINK $(root_sbindir)/fsck.ext3"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
- $(DESTDIR)$(root_sbindir)/fsck.ext3
+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext3)
@echo " LINK $(root_sbindir)/fsck.ext4"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
- $(DESTDIR)$(root_sbindir)/fsck.ext4
+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext4)
@echo " LINK $(root_sbindir)/fsck.ext4dev"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
- $(DESTDIR)$(root_sbindir)/fsck.ext4dev
+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext4dev)
@for i in $(MANPAGES); do \
for j in $(COMPRESS_EXT); do \
$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
@@ -221,17 +217,13 @@
$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
done
@echo " LINK $(man8dir)/fsck.ext2.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
- $(DESTDIR)$(man8dir)/fsck.ext2.8
+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext2.8)
@echo " LINK $(man8dir)/fsck.ext3.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
- $(DESTDIR)$(man8dir)/fsck.ext3.8
+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext3.8)
@echo " LINK $(man8dir)/fsck.ext4.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
- $(DESTDIR)$(man8dir)/fsck.ext4.8
+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext4.8)
@echo " LINK $(man8dir)/fsck.ext4.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
- $(DESTDIR)$(man8dir)/fsck.ext4dev.8
+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext4dev.8)
install-strip: install
@for i in $(PROGS); do \
|