diff libgsmefr/Makefile @ 460:cb1d1ea7f2c5

new build system: accept more directory options
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 May 2024 23:04:44 +0000
parents 19f1aa01ea10
children ea89eb8291bf
line wrap: on
line diff
--- a/libgsmefr/Makefile	Fri May 10 19:50:29 2024 +0000
+++ b/libgsmefr/Makefile	Fri May 10 23:04:44 2024 +0000
@@ -14,7 +14,6 @@
 LIB=	libgsmefr.a
 
 include ../config.defs
-INSTALL_PREFIX=${DESTDIR}${PREFIX}
 
 all:	${LIB}
 
@@ -25,10 +24,10 @@
 	ranlib $@
 
 install:
-	mkdir -p ${INSTALL_PREFIX}/include
-	install -c -m 444 gsm_efr.h ${INSTALL_PREFIX}/include
-	mkdir -p ${INSTALL_PREFIX}/lib
-	install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib
+	mkdir -p ${DESTDIR}${includedir}
+	install -c -m 444 gsm_efr.h ${DESTDIR}${includedir}
+	mkdir -p ${DESTDIR}${libdir}
+	install -c -m 444 ${LIB} ${DESTDIR}${libdir}
 
 clean:
 	rm -f *.[oa] errs