diff options
author | Mattias Andrée <maandree@kth.se> | 2021-08-28 23:38:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-08-28 23:38:16 +0200 |
commit | 4e116dfbcbe8a3b7a72db4c698b930376540ed6b (patch) | |
tree | 19a50d13ba1ecd766b4b0da27e0ae5e1e9634292 | |
parent | Use rm -f in Makefile (diff) | |
download | libcolour-4e116dfbcbe8a3b7a72db4c698b930376540ed6b.tar.gz libcolour-4e116dfbcbe8a3b7a72db4c698b930376540ed6b.tar.bz2 libcolour-4e116dfbcbe8a3b7a72db4c698b930376540ed6b.tar.xz |
m libcolour.7
Signed-off-by: Mattias Andrée <maandree@kth.se>
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 |