aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-09 20:39:44 +0200
committerMattias Andrée <maandree@kth.se>2021-04-09 20:39:44 +0200
commit451d6155a1f38a5da0c96cdb754906c3708337fe (patch)
tree7b378283d89509911cc5da8aa4b3e887ea95d32c /Makefile
parentAdd LIBTERMINPUT_SEPARATE_BACKTAB and LIBTERMINPUT_ESC_ON_BLOCK (diff)
downloadlibterminput-451d6155a1f38a5da0c96cdb754906c3708337fe.tar.gz
libterminput-451d6155a1f38a5da0c96cdb754906c3708337fe.tar.bz2
libterminput-451d6155a1f38a5da0c96cdb754906c3708337fe.tar.xz
Add man page for libterminput_set_flags and libterminput_clear_flags
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 59cd5b4..e4d37da 100644
--- a/Makefile
+++ b/Makefile
@@ -51,11 +51,14 @@ interactive-test: interactive-test.o libterminput.a
install: libterminput.a libterminput.$(LIBEXT)
mkdir -p -- "$(DESTDIR)$(PREFIX)/lib"
mkdir -p -- "$(DESTDIR)$(PREFIX)/include"
+ mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3"
cp -- libterminput.a "$(DESTDIR)$(PREFIX)/lib/"
cp -- libterminput.h "$(DESTDIR)$(PREFIX)/include/"
cp -- libterminput.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libterminput.$(LIBMINOREXT)"
ln -sf -- libterminput.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libterminput.$(LIBMAJOREXT)"
ln -sf -- libterminput.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libterminput.$(LIBEXT)"
+ cp -- libterminput_set_flags.3 "$(DESTDIR)$(MANPREFIX)/man3"
+ ln -sf -- libterminput_set_flags.3 "$(DESTDIR)$(MANPREFIX)/man3/libterminput_clear_flags.3"
uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/lib/libterminput.$(LIBMAJOREXT)"
@@ -63,6 +66,8 @@ uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/lib/libterminput.$(LIBEXT)"
-rm -rf -- "$(DESTDIR)$(PREFIX)/lib/libterminput.a"
-rm -rf -- "$(DESTDIR)$(PREFIX)/include/libterminput.h"
+ -rm -rf -- "$(DESTDIR)$(MANPREFIX)/man3/libterminput_set_flags.3"
+ -rm -rf -- "$(DESTDIR)$(MANPREFIX)/man3/libterminput_clear_flags.3"
clean:
-rm -f -- *.o *.a *.lo *.so *.su *.dll *.dylib interactive-test