aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-07 10:48:02 +0200
committerMattias Andrée <maandree@kth.se>2022-07-07 10:48:02 +0200
commit69ef251a463d3112f92258faedcf207b7d507fae (patch)
treeb1580e761294d1dd54829850649a8dade041bf60 /Makefile
parentm whitespace (diff)
downloadlibsha1-69ef251a463d3112f92258faedcf207b7d507fae.tar.gz
libsha1-69ef251a463d3112f92258faedcf207b7d507fae.tar.bz2
libsha1-69ef251a463d3112f92258faedcf207b7d507fae.tar.xz
Add libsha1.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 ef4f5a7..5e3b16e 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,9 @@ MAN3 =\
libsha1_unmarshal.3\
libsha1_update.3
+MAN7 =\
+ libsha1.7
+
LOBJ = $(OBJ:.o=.lo)
@@ -93,6 +96,7 @@ install: libsha1.a libsha1.$(LIBEXT)
mkdir -p -- "$(DESTDIR)$(PREFIX)/include"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man0"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3"
+ mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man7"
cp -- libsha1.a "$(DESTDIR)$(PREFIX)/lib"
cp -- libsha1.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libsha1.$(LIBMINOREXT)"
$(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libsha1.$(LIBMINOREXT)"
@@ -101,6 +105,7 @@ install: libsha1.a libsha1.$(LIBEXT)
cp -- libsha1.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/libsha1.a"
@@ -110,6 +115,7 @@ uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/include/libsha1.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 *.so test