diff options
Diffstat (limited to '')
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | libcolour.7 (renamed from libcolour.7.in) | 5 |
4 files changed, 5 insertions, 11 deletions
@@ -12,5 +12,4 @@ *.out /__pycache__/ /test -/libcolour.7 /conversion-matrices.h @@ -1,6 +1,6 @@ ISC License -© 2016, 2017 Mattias Andrée <maandree@kth.se> +© 2016, 2017, 2021 Mattias Andrée <maandree@kth.se> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -79,7 +79,7 @@ MAN3_SYMLINKS =\ libcolour_convert_en_masse_llf.3 -all: libcolour.a libcolour.so.$(SO_VERSION) libcolour.7 test +all: libcolour.a libcolour.so.$(SO_VERSION) test conversion-matrices.h: matrices.py @@ -122,11 +122,7 @@ test: test.o libcolour.a $(CC) -o $@ $^ $(LDFLAGS) -libcolour.7: libcolour.7.in - sed 's:/usr/local:$(PREFIX):g' < libcolour.7.in > libcolour.7 - - -install: libcolour.a libcolour.so.$(SO_VERSION) libcolour.7 +install: libcolour.a libcolour.so.$(SO_VERSION) mkdir -p -- "$(DESTDIR)$(PREFIX)/include" cp -- libcolour.h "$(DESTDIR)$(PREFIX)/include/libcolour.h" chmod -- 644 "$(DESTDIR)$(PREFIX)/include/libcolour.h" diff --git a/libcolour.7.in b/libcolour.7 index ee8c2df..acc0000 100644 --- a/libcolour.7.in +++ b/libcolour.7 @@ -14,9 +14,8 @@ colour spaces. To use libcolour, include the header file .B <libcolour.h> and link with -.B /usr/local/lib/libcolour.a -lm -or -.BR -lcolour . +.B -lcolour +.BR -lm . .SH COLOUR MODELS .B libcolour supports a number of colour models. A colour model |