Description: Fix manpage installation
 Install manpage under /usr/share/man, not /usr/man. It fixes lintian error.
Author: Dmitry Bogatov <KAction@gnu.org>
Forwarded: not-needed
Last-Update: 2016-02-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile
+++ b/Makefile
@@ -29,12 +29,12 @@ debug: fgetty.c fmt_ulong.o
 	gcc -g -o debug fgetty.c fmt_ulong.o -DDEBUG
 
 install:
-	install -d $(DESTDIR)/bin $(DESTDIR)/sbin $(DESTDIR)/usr/man/man8
+	install -d $(DESTDIR)/bin $(DESTDIR)/sbin $(DESTDIR)/usr/share/man/man8
 	install login $(DESTDIR)/bin/login1
 	install login2 $(DESTDIR)/bin
 	install fgetty $(DESTDIR)/sbin
 	install checkpassword $(DESTDIR)/bin/checkpassword.login
-	install -m 644 fgetty.8 $(DESTDIR)/usr/man/man8/fgetty.8
+	install -m 644 fgetty.8 $(DESTDIR)/usr/share/man/man8/fgetty.8
 	@echo "now change your /etc/inittab to do something like"
 	@echo "  1:123:respawn:/sbin/fgetty /dev/vc/1 --noclear"
 
