Lines 1-26
Link Here
|
1 |
--- Makefile.orig 2013-09-09 09:56:10.000000000 +0400 |
|
|
2 |
+++ Makefile 2014-01-28 04:02:41.281082541 +0400 |
3 |
@@ -1,17 +1,17 @@ |
4 |
PREFIX?=/usr/local |
5 |
|
6 |
-LIBS=-L${PREFIX}/lib -ltag |
7 |
+LIBS=-L${LOCALBASE}/lib -ltag |
8 |
|
9 |
all: gbsdconv_taglib |
10 |
|
11 |
gbsdconv_taglib: taglib/tag_c.cpp |
12 |
- $(CXX) -I${PREFIX}/include/taglib -fPIC -shared -o gbsdconv_taglib.so taglib/tag_c.cpp ${LIBS} |
13 |
+ $(CXX) -I${LOCALBASE}/include/taglib -fPIC -shared -o gbsdconv_taglib.so taglib/tag_c.cpp ${LIBS} |
14 |
|
15 |
install: |
16 |
- install -m 755 gbsdconv ${PREFIX}/bin |
17 |
- install -m 444 gbsdconv_taglib.so ${PREFIX}/lib |
18 |
- mkdir -p ${PREFIX}/share/gbsdconv |
19 |
- install -m 444 gbsdconv.png gbsdconv.xml gbsdconv2.png ${PREFIX}/share/gbsdconv |
20 |
+ install -m 755 gbsdconv ${DESTDIR}${PREFIX}/bin |
21 |
+ install -m 444 gbsdconv_taglib.so ${DESTDIR}${PREFIX}/lib |
22 |
+ mkdir -p ${DESTDIR}${PREFIX}/share/gbsdconv |
23 |
+ install -m 444 gbsdconv.png gbsdconv.xml gbsdconv2.png ${DESTDIR}${PREFIX}/share/gbsdconv |
24 |
|
25 |
clean: |
26 |
rm -f gbsdconv_taglib.so |