aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-07 15:14:08 +0200
committerMattias Andrée <maandree@kth.se>2022-07-07 15:14:08 +0200
commit52cee14bdda0191b996fa50f902d7aad53480333 (patch)
tree60f0792fc67f8900eb579da1b80d21fdbc6a830c /Makefile
parentAdd coverage test (diff)
downloadlibsha2-52cee14bdda0191b996fa50f902d7aad53480333.tar.gz
libsha2-52cee14bdda0191b996fa50f902d7aad53480333.tar.bz2
libsha2-52cee14bdda0191b996fa50f902d7aad53480333.tar.xz
Add libsha2.7
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bc47b8c..76278fc 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,9 @@ MAN3 =\
libsha2_unmarshal.3\
libsha2_update.3
+MAN7 =\
+ libsha2.7
+
LOBJ = $(OBJ:.o=.lo)
SRC = $(OBJ:.o=.c)
@@ -94,6 +97,7 @@ install:
mkdir -p -- "$(DESTDIR)$(PREFIX)/include"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man0"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3"
+ mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man7"
cp -- libsha2.a "$(DESTDIR)$(PREFIX)/lib"
cp -- libsha2.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libsha2.$(LIBMINOREXT)"
$(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libsha2.$(LIBMINOREXT)"
@@ -102,6 +106,7 @@ install:
cp -- libsha2.h "$(DESTDIR)$(PREFIX)/include"
cp -- $(MAN0) "$(DESTDIR)$(MANPREFIX)/man0"
cp -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3"
+ cp -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7"
uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/lib/libsha2.a"
@@ -111,6 +116,7 @@ uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/include/libsha2.h"
-cd -- "$(DESTDIR)$(MANPREFIX)/man0" && rm -f -- $(MAN0)
-cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -f -- $(MAN3)
+ -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f -- $(MAN7)
clean:
-rm -f -- *.o *.lo *.su *.a *.$(LIBEXT) *.gcda *.gcno *.gcov test