]> git.pld-linux.org Git - packages/device-mapper.git/blob - device-mapper-install.patch
9bdec70496f90c86faf0a0038d7e7e4a device-mapper-install.patch
[packages/device-mapper.git] / device-mapper-install.patch
1 diff -ur device-mapper.0.96.08/dmsetup/Makefile.in device-mapper.0.96.08.bzz/dmsetup/Makefile.in
2 --- device-mapper.0.96.08/dmsetup/Makefile.in   Wed Jan  2 14:40:48 2002
3 +++ device-mapper.0.96.08.bzz/dmsetup/Makefile.in       Tue Apr 15 17:38:28 2003
4 @@ -17,7 +17,7 @@
5         $(CC) -o dmsetup dmsetup.o $(LD_FLAGS) -ldevmapper
6  
7  install: dmsetup
8 -       $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
9 +       $(INSTALL) -D -m 555 $(STRIP) $< $(DESTDIR)$(sbindir)/$<
10  
11  .PHONY: install 
12  
13 diff -ur device-mapper.0.96.08/lib/Makefile.in device-mapper.0.96.08.bzz/lib/Makefile.in
14 --- device-mapper.0.96.08/lib/Makefile.in       Tue Jan 21 22:22:55 2003
15 +++ device-mapper.0.96.08.bzz/lib/Makefile.in   Tue Apr 15 17:37:46 2003
16 @@ -20,17 +20,17 @@
17  
18  install: install_@interface@
19 -       $(LN_S) -f libdevmapper.so.$(LIB_VERSION) $(libdir)/libdevmapper.so
20 -       $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 444 libdevmapper.h \
21 -               $(includedir)/libdevmapper.h
22 +       $(LN_S) -f /lib/libdevmapper.so.$(LIB_VERSION) $(DESTDIR)$(libdir)/libdevmapper.so
23 +       $(INSTALL) -D -m 444 libdevmapper.h \
24 +               $(DESTDIR)$(includedir)/libdevmapper.h
25  
26  .PHONY: install install_@interface@
27  
28  install_fs: fs/libdevmapper.so
29 -       $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< \
30 -               $(libdir)/libdevmapper.so.$(LIB_VERSION)
31 +       $(INSTALL) -D -m 555 $(STRIP) $< \
32 +               $(DESTDIR)$(libdir)/libdevmapper.so.$(LIB_VERSION)
33  
34  install_ioctl: ioctl/libdevmapper.so
35 -       $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< \
36 -               $(libdir)/libdevmapper.so.$(LIB_VERSION)
37 +       $(INSTALL) -D -m 555 $(STRIP) $< \
38 +               $(DESTDIR)$(libdir)/libdevmapper.so.$(LIB_VERSION)
39  
40  distclean_lib: 
41 diff -ur device-mapper.0.96.08/man/Makefile.in device-mapper.0.96.08.bzz/man/Makefile.in
42 --- device-mapper.0.96.08/man/Makefile.in       Wed Jan  2 14:40:49 2002
43 +++ device-mapper.0.96.08.bzz/man/Makefile.in   Tue Apr 15 17:37:55 2003
44 @@ -30,6 +30,6 @@
45         @for f in $(MANUALS); \
46         do \
47            $(RM) $(MAN8DIR)/$$f; \
48 -          @INSTALL@ -D -o $(OWNER) -g $(GROUP) -m 444 $$f $(MAN8DIR)/$$f; \
49 +          @INSTALL@ -D -m 444 $$f $(DESTDIR)$(MAN8DIR)/$$f; \
50         done
51  
This page took 0.097194 seconds and 4 git commands to generate.