libvolume_id_Makefile.patch 1.71 KB
Newer Older
1 2
--- udev-111/extras/volume_id/lib/Makefile.orig	2007-05-10 12:42:56.000000000 +0200
+++ udev-111/extras/volume_id/lib/Makefile	2008-02-12 14:47:26.000000000 +0100
3 4 5 6 7 8 9 10 11
@@ -4,7 +4,7 @@
 #
 # Released under the GNU General Public License, version 2.
 #
-includedir = 	${prefix}/usr/include
+includedir = 	${prefix}/include
 libdir =	${prefix}/lib
 usrlibdir =	${prefix}/usr/lib
 
12
@@ -103,16 +103,16 @@ libvolume_id.pc:
13 14 15
 
 install: all
 	$(INSTALL_DATA) -D libvolume_id.h $(DESTDIR)$(includedir)/libvolume_id.h
16
-	$(INSTALL_LIB) -D $(SHLIB) $(DESTDIR)$(libdir)/$(SHLIB)
17
+	$(INSTALL_LIB) -D libvolume_id.a $(DESTDIR)$(libdir)/libvolume_id.a
18 19
 	mkdir -p $(DESTDIR)$(usrlibdir)/
 	ln -sf $(SHLIB) $(DESTDIR)$(libdir)/libvolume_id.so.$(SHLIB_CUR)
20 21 22 23 24 25 26 27 28 29 30 31 32
-	ln -sf $(libdir)/$(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
-	$(INSTALL_DATA) -D libvolume_id.pc $(DESTDIR)$(usrlibdir)/pkgconfig/libvolume_id.pc
+	ln -sf $(libdir)/$(SHLIB) $(DESTDIR)$(libdir)/libvolume_id.so
+	$(INSTALL_DATA) -D libvolume_id.pc $(DESTDIR)$(libdir)/pkgconfig/libvolume_id.pc
 .PHONY: install
 
 uninstall:
 	rm -f $(DESTDIR)$(includedir)/libvolume_id.h
-	rm -f $(DESTDIR)$(usrlibdir)/libvolume_id.a
+	rm -f $(DESTDIR)$(libdir)/libvolume_id.a
 	rm -f $(DESTDIR)$(libdir)/$(SHLIB)
 	rm -f $(DESTDIR)$(libdir)/libvolume_id.so.$(SHLIB_CUR)
 	rm -f $(DESTDIR)$(libdir)/libvolume_id.so
33 34 35 36 37 38 39 40 41 42 43
--- udev-111/extras/volume_id/Makefile.orig	2007-05-10 12:42:56.000000000 +0200
+++ udev-111/extras/volume_id/Makefile	2008-02-12 14:41:53.000000000 +0100
@@ -15,7 +15,7 @@ sbindir =	${prefix}/sbin
 usrbindir =	${prefix}/usr/bin
 usrsbindir =	${prefix}/usr/sbin
 libudevdir =	${prefix}/lib/udev
-mandir =	${prefix}/usr/share/man
+mandir =	${prefix}/share/man
 configdir =	${etcdir}/udev/
 
 INSTALL = install -c