aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-08-28 23:38:16 +0200
committerMattias Andrée <maandree@kth.se>2021-08-28 23:38:16 +0200
commit4e116dfbcbe8a3b7a72db4c698b930376540ed6b (patch)
tree19a50d13ba1ecd766b4b0da27e0ae5e1e9634292 /Makefile
parentUse rm -f in Makefile (diff)
downloadlibcolour-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 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 9b1b6d9..8cef49a 100644
--- a/Makefile
+++ b/Makefile
@@ -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"