From 7de370bbd6f5358a5029957ee68a6e4b9dfa29a2 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Fri, 27 Aug 2021 19:17:36 +0200 Subject: [PATCH] Document using GP_CAMLIB_SET on make command line Documents the use of GP_CAMLIB_SET on the make command line. Setting CAMLIBS= on the make command line to specify the set of camlibs to be built and installed has not worked at least since the introduction of GP_CAMLIB_SET. --- HACKING.md | 7 +++++-- INSTALL | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/HACKING.md b/HACKING.md index e53383e05..04f43d997 100644 --- a/HACKING.md +++ b/HACKING.md @@ -127,9 +127,12 @@ camlibs, you can use and - make CAMLIBS="sillycam.la doofuscam.la" install-camlibs + make GP_CAMLIB_SET="sillycam.la doofuscam.la" install-camlibs -respectively. +respectively or + + make -C camlibs GP_CAMLIB_SET="sillycam.la doofuscam.la" all + make -C camlibs GP_CAMLIB_SET="sillycam.la doofuscam.la" install Compiling all camlibs is sped up considerably on *N* CPU core computers using `make -j`*N*. diff --git a/INSTALL b/INSTALL index 422989470..c62af9999 100644 --- a/INSTALL +++ b/INSTALL @@ -118,7 +118,7 @@ directories on your system. If you want to install only one or two specific camlibs, run something like - $ make CAMLIBS="canon.la ptp2.la" install-camlibs + $ make GP_CAMLIB_SET="canon.la ptp2.la" install-camlibs On Linux, the installed libtool .la files are not needed and can be removed.