Blame SOURCES/cdparanoia-10.2-install.patch

b9d151
diff -Naupr cdparanoia-III-10.2.orig/Makefile.in cdparanoia-III-10.2/Makefile.in
b9d151
--- cdparanoia-III-10.2.orig/Makefile.in	2008-09-11 22:33:30.000000000 +0200
b9d151
+++ cdparanoia-III-10.2/Makefile.in	2008-12-22 22:31:45.578372040 +0100
b9d151
@@ -63,28 +63,28 @@ slib:
b9d151
 	cd paranoia && $(MAKE) slib
b9d151
 
b9d151
 install:
b9d151
-	$(INSTALL) -d -m 0755 $(BINDIR)
b9d151
-	$(INSTALL) -m 755 $(srcdir)/cdparanoia $(BINDIR)
b9d151
-	$(INSTALL) -d -m 0755 $(MANDIR)
b9d151
-	$(INSTALL) -d -m 0755 $(MANDIR)/man1
b9d151
-	$(INSTALL) -m 0644 $(srcdir)/cdparanoia.1 $(MANDIR)/man1
b9d151
-	$(INSTALL) -d -m 0755 $(INCLUDEDIR)
b9d151
-	$(INSTALL) -m 0644 $(srcdir)/paranoia/cdda_paranoia.h $(INCLUDEDIR)
b9d151
-	$(INSTALL) -d -m 0755 $(LIBDIR)
b9d151
-	$(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.so.0.$(VERSION) $(LIBDIR)
b9d151
-	$(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.a $(LIBDIR)
b9d151
-	$(INSTALL) -m 0644 $(srcdir)/interface/cdda_interface.h $(INCLUDEDIR)
b9d151
-	$(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.so.0.$(VERSION) $(LIBDIR)
b9d151
-	$(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.a $(LIBDIR)
b9d151
-	$(INSTALL) -m 0644 $(srcdir)/utils.h $(INCLUDEDIR)
b9d151
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(BINDIR)
b9d151
+	$(INSTALL) -m 755 $(srcdir)/cdparanoia $(DESTDIR)$(BINDIR)
b9d151
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(MANDIR)
b9d151
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(MANDIR)/man1
b9d151
+	$(INSTALL) -m 0644 $(srcdir)/cdparanoia.1 $(DESTDIR)$(MANDIR)/man1
b9d151
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(INCLUDEDIR)
b9d151
+	$(INSTALL) -m 0644 $(srcdir)/paranoia/cdda_paranoia.h $(DESTDIR)$(INCLUDEDIR)
b9d151
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(LIBDIR)
b9d151
+	$(INSTALL) -m 0755 $(srcdir)/paranoia/libcdda_paranoia.so.0.$(VERSION) $(DESTDIR)$(LIBDIR)
b9d151
+	$(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.a $(DESTDIR)$(LIBDIR)
b9d151
+	$(INSTALL) -m 0644 $(srcdir)/interface/cdda_interface.h $(DESTDIR)$(INCLUDEDIR)
b9d151
+	$(INSTALL) -m 0755 $(srcdir)/interface/libcdda_interface.so.0.$(VERSION) $(DESTDIR)$(LIBDIR)
b9d151
+	$(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.a $(DESTDIR)$(LIBDIR)
b9d151
+	$(INSTALL) -m 0644 $(srcdir)/utils.h $(DESTDIR)$(INCLUDEDIR)
b9d151
 	ln -fs libcdda_interface.so.0.$(VERSION) \
b9d151
-		$(LIBDIR)/libcdda_interface.so.0
b9d151
+		$(DESTDIR)$(LIBDIR)/libcdda_interface.so.0
b9d151
 	ln -fs libcdda_interface.so.0.$(VERSION) \
b9d151
-		$(LIBDIR)/libcdda_interface.so
b9d151
+		$(DESTDIR)$(LIBDIR)/libcdda_interface.so
b9d151
 	ln -fs libcdda_paranoia.so.0.$(VERSION) \
b9d151
-		$(LIBDIR)/libcdda_paranoia.so.0
b9d151
+		$(DESTDIR)$(LIBDIR)/libcdda_paranoia.so.0
b9d151
 	ln -fs libcdda_paranoia.so.0.$(VERSION) \
b9d151
-		$(LIBDIR)/libcdda_paranoia.so
b9d151
+		$(DESTDIR)$(LIBDIR)/libcdda_paranoia.so
b9d151
 
b9d151
 cdparanoia:	$(OFILES) $(LIBDEP)
b9d151
 		$(LD) $(CFLAGS) $(LDFLAGS) $(OFILES) \