author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-07-24 23:38:11 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-07-24 23:38:11 UTC |
parent | 4443d073e7a32e37b679ff6714f8fb9644b44b79 |
libjio/Makefile | +3 | -1 |
diff --git a/libjio/Makefile b/libjio/Makefile index 9a82a94..157022e 100644 --- a/libjio/Makefile +++ b/libjio/Makefile @@ -33,6 +33,8 @@ endif # prefix for installing the binaries PREFIX = /usr/local +# prefix for eventual location of binaries +DESTDIR=$(PREFIX) # install utility, we assume it's GNU/BSD compatible INSTALL=install @@ -64,7 +66,7 @@ libjio.a: $(OBJS) libjio.pc: libjio.skel.pc @echo "generating libjio.pc" @cat libjio.skel.pc | \ - sed 's@++PREFIX++@$(PREFIX)@g' | \ + sed 's@++PREFIX++@$(DESTDIR)@g' | \ sed 's@++CFLAGS++@$(MANDATORY_CFLAGS)@g' \ > libjio.pc