Description: Install manual page
 Upstream has no manual page.
 .
 So it doesn't install the man page.
Author: Geert Stappers <stappers@hendrikx-itc.nl>
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2019-01-12

--- fiche-dpkg.orig/Makefile
+++ fiche-dpkg/Makefile
@@ -1,6 +1,7 @@
 # for debug add -g -O0 to line below
 CFLAGS+=-pthread -O2 -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -std=gnu11 -g -O0
 prefix=$(DESTDIR)/usr/bin
+manloc=$(DESTDIR)/usr/share/man/man1
 
 all:
 	${CC} main.c fiche.c $(CFLAGS) -o fiche
@@ -8,6 +9,8 @@ all:
 install: fiche
 	install -m 0755 -d $(prefix)
 	install -m 0755 fiche $(prefix)
+	install -m 0755 -d $(manloc)
+	install -m 0755 debian/fiche.1 $(manloc)
 
 clean:
 	rm -f fiche
