aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmimedir/Makefile.in-Add_DESTDIR.patch
blob: 27fb6f27bad60e9e0b060b40b708cbcc162f3a14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -Nur libmimedir-0.5.1.orig/Makefile.in libmimedir-0.5.1/Makefile.in
--- libmimedir-0.5.1.orig/Makefile.in	2008-06-03 11:58:26.000000000 -0500
+++ libmimedir-0.5.1/Makefile.in	2009-03-22 23:30:41.953080041 -0500
@@ -55,9 +55,11 @@
 	./test
 
 install: all
-	${INSTALL} -m 444 libmimedir.h ${includedir}
-	${INSTALL} -m 444 libmimedir.a ${libdir}
-	$(LIBTOOL) --mode=install ${INSTALL} -c -m 444 libmimedir.la ${libdir}/libmimedir.la
+	${INSTALL} -d 755 $(DESTDIR)${includedir}
+	${INSTALL} -m 644 libmimedir.h $(DESTDIR)${includedir}
+	${INSTALL} -d 755 $(DESTDIR)${libdir}
+	${INSTALL} -m 644 libmimedir.a $(DESTDIR)${libdir}
+	$(LIBTOOL) --mode=install ${INSTALL} -c -m 644 libmimedir.la $(DESTDIR)${libdir}/libmimedir.la
 
 clean:
 	rm -f $(OBJS) $(LOBJS) test.o *.a *.la *.core