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
8 - $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< $(sbindir)/$<
9 + $(INSTALL) -D -o $(OWNER) -g $(GROUP) -m 555 $(STRIP) $< $(DESTDIR)$(sbindir)/$<
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
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
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
34 .PHONY: install install_@interface@ install_static install_@interface@_static
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)
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)
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)
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
59 # Setup directory variables
60 -prefix = $(DESTDIR)@prefix@
61 -exec_prefix = $(DESTDIR)@exec_prefix@
63 +exec_prefix = @exec_prefix@
65 includedir = @includedir@
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
71 @echo "*** Installing $(ALL_MANUALS) in $(MAN8DIR) ***"
72 @for f in $(MANUALS); \
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; \