diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-25 22:59:01 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-25 22:59:01 +0100 |
commit | cd1558586a3ea5ac019b39831a135c2d488e405b (patch) | |
tree | b73e7dfcfb107e850e536025f2c45223e0c8d6f6 /Makefile | |
parent | Improve README (diff) | |
download | libglitter-cd1558586a3ea5ac019b39831a135c2d488e405b.tar.gz libglitter-cd1558586a3ea5ac019b39831a135c2d488e405b.tar.bz2 libglitter-cd1558586a3ea5ac019b39831a135c2d488e405b.tar.xz |
Add man pages + some minor fixes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -17,8 +17,8 @@ LIB_NAME = glitter OBJ =\ - libglitter_colour_space_convert_rasters_double.o\ - libglitter_colour_space_convert_rasters_float.o\ + libglitter_colour_model_convert_rasters_double.o\ + libglitter_colour_model_convert_rasters_float.o\ libglitter_compose_double.o\ libglitter_compose_float.o\ libglitter_compose_uint16.o\ @@ -30,8 +30,8 @@ OBJ =\ libglitter_desaturate_float.o\ libglitter_create_render_context.o\ libglitter_free_render_context.o\ - libglitter_get_colour_space_conversion_matrix_double.o\ - libglitter_get_colour_space_conversion_matrix_float.o\ + libglitter_get_colour_model_conversion_matrix_double.o\ + libglitter_get_colour_model_conversion_matrix_float.o\ libglitter_per_channel_desaturate_double.o\ libglitter_per_channel_desaturate_float.o\ libglitter_reorder_rasters.o\ @@ -43,6 +43,9 @@ HDR =\ common.h\ libglitter.h +MAN3 = $(OBJ:.o=.3) +MAN7 = libglitter.7 + LOBJ = $(OBJ:.o=.lo) TESTS = $(OBJ:.o=.test) @@ -89,6 +92,10 @@ install: libglitter.a libglitter.$(LIBEXT) ln -sf -- libglitter.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libglitter.$(LIBMAJOREXT)" ln -sf -- libglitter.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libglitter.$(LIBEXT)" cp -- libglitter.h "$(DESTDIR)$(PREFIX)/include/" + mkdir -- "$(DESTDIR)$(MANPREFIX)/man3" + mkdir -- "$(DESTDIR)$(MANPREFIX)/man7" + cp -P -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3/" + cp -P -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7/" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libglitter.a" @@ -96,6 +103,8 @@ uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libglitter.$(LIBMINOREXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libglitter.$(LIBEXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/include/libglitter.h" + -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -f -- $(MAN3) + -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f -- $(MAN7) clean: -rm -f -- *.o *.a *.lo *.su *.so *.so.* *.dll *.dylib *.test |