From 213bff694040c995f5499072d0e8b7519837e99c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 3 Feb 2025 19:31:31 +0100 Subject: Add libred_get_colour_xy, libred_get_temperature_xy, and libred_get_temperature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 44116a7..ce4ce74 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ include mk/$(OS).mk LIB_MAJOR = 1 -LIB_MINOR = 0 +LIB_MINOR = 1 LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR) @@ -22,9 +22,13 @@ OBJ =\ LOBJ = $(OBJ:.o=.lo) MAN0 = libred.h.0 -MAN3 = libred_get_colour.3 libred_solar_elevation.3 MAN7 = libred.7 +MAN3 =\ + libred_get_colour.3\ + libred_get_colour_xy.3\ + libred_solar_elevation.3 + all: libred.a libred.$(LIBEXT) solar.o: libred.h @@ -66,9 +70,9 @@ install: libred.a libred.$(LIBEXT) ln -sf -- libred.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libred.$(LIBMAJOREXT)" ln -sf -- libred.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libred.$(LIBEXT)" cp -- libred.h "$(DESTDIR)$(PREFIX)/include" - cp -- $(MAN0) "$(DESTDIR)$(MANPREFIX)/man0" - cp -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3" - cp -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7" + cp -P -- $(MAN0) "$(DESTDIR)$(MANPREFIX)/man0" + cp -P -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3" + cp -P -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libred.a" -- cgit v1.2.3-70-g09d2