]> git.pld-linux.org Git - packages/device-mapper.git/blob - device-mapper-install.patch
- fix .so symlink
[packages/device-mapper.git] / device-mapper-install.patch
1 diff -urN device-mapper.1.00.09.org/dmsetup/Makefile.in device-mapper.1.00.09/dmsetup/Makefile.in
2 --- device-mapper.1.00.09.org/dmsetup/Makefile.in       2004-04-01 01:58:07.096597280 +0200
3 +++ device-mapper.1.00.09/dmsetup/Makefile.in   2004-04-01 02:01:38.120516768 +0200
4 @@ -28,7 +28,7 @@
5               -ldevmapper
6  
7  install: dmsetup
8 -       $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
9 +       $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< $(DESTDIR)$(sbindir)/$<
10  
11  .PHONY: install 
12  
13 diff -urN device-mapper.1.00.09.org/lib/Makefile.in device-mapper.1.00.09/lib/Makefile.in
14 --- device-mapper.1.00.09.org/lib/Makefile.in   2004-04-01 01:58:07.179584664 +0200
15 +++ device-mapper.1.00.09/lib/Makefile.in       2004-04-01 02:02:30.597539048 +0200
16 @@ -30,29 +30,29 @@
17  
18  
19  install: install_@interface@
20 -       $(LN_S) -f libdevmapper.so.$(LIB_VERSION) $(libdir)/libdevmapper.so
21 +       $(LN_S) -f libdevmapper.so.$(LIB_VERSION) $(DESTDIR)$(libdir)/libdevmapper.so
22         $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 444 libdevmapper.h \
23 -               $(includedir)/libdevmapper.h
24 +               $(DESTDIR)$(includedir)/libdevmapper.h
25  
26  install_static: install_@interface@_static
27 -       $(LN_S) -f libdevmapper.a.$(LIB_VERSION) $(libdir)/libdevmapper.a
28 +       $(LN_S) -f libdevmapper.a.$(LIB_VERSION) $(DESTDIR)$(libdir)/libdevmapper.a
29         $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 444 libdevmapper.h \
30 -               $(includedir)/libdevmapper.h
31 +               $(DESTDIR)$(includedir)/libdevmapper.h
32  
33  
34  .PHONY: install install_@interface@ install_static install_@interface@_static
35  
36  install_fs: fs/libdevmapper.so
37         $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< \
38 -               $(libdir)/libdevmapper.so.$(LIB_VERSION)
39 +               $(DESTDIR)$(libdir)/libdevmapper.so.$(LIB_VERSION)
40  
41  install_ioctl: ioctl/libdevmapper.so
42         $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< \
43 -               $(libdir)/libdevmapper.so.$(LIB_VERSION)
44 +               $(DESTDIR)$(libdir)/libdevmapper.so.$(LIB_VERSION)
45  
46  install_ioctl_static: ioctl/libdevmapper.a
47         $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< \
48 -               $(libdir)/libdevmapper.a.$(LIB_VERSION)
49 +               $(DESTDIR)$(libdir)/libdevmapper.a.$(LIB_VERSION)
50  
51  distclean_lib: 
52         $(RM) libdm-common.h
53 diff -urN device-mapper.1.00.09.org/make.tmpl.in device-mapper.1.00.09/make.tmpl.in
54 --- device-mapper.1.00.09.org/make.tmpl.in      2004-04-01 01:58:07.094597584 +0200
55 +++ device-mapper.1.00.09/make.tmpl.in  2004-04-01 02:03:19.789060800 +0200
56 @@ -27,8 +27,8 @@
57  LD_DEPS += @LD_DEPS@
58  
59  # Setup directory variables
60 -prefix = $(DESTDIR)@prefix@
61 -exec_prefix = $(DESTDIR)@exec_prefix@
62 +prefix = @prefix@
63 +exec_prefix = @exec_prefix@
64  bindir = @bindir@
65  includedir = @includedir@
66  libdir = @libdir@
67 diff -urN device-mapper.1.00.09.org/man/Makefile.in device-mapper.1.00.09/man/Makefile.in
68 --- device-mapper.1.00.09.org/man/Makefile.in   2004-04-01 01:58:07.195582232 +0200
69 +++ device-mapper.1.00.09/man/Makefile.in       2004-04-01 02:02:45.565263608 +0200
70 @@ -25,7 +25,7 @@
71         @echo "*** Installing $(ALL_MANUALS) in $(MAN8DIR) ***"
72         @for f in $(MANUALS); \
73         do \
74 -          $(RM) $(MAN8DIR)/$$f; \
75 -          @INSTALL@ -D -o $(OWNER) -g $(GROUP) -m 444 $$f $(MAN8DIR)/$$f; \
76 +          $(RM) $(DESTDIR)$(MAN8DIR)/$$f; \
77 +          @INSTALL@ -D -o $(OWNER) -g $(GROUP) -m 444 $$f $(DESTDIR)$(MAN8DIR)/$$f; \
78         done
79  
This page took 0.080337 seconds and 3 git commands to generate.