# Install man pages
-mkdir -pv $(DESTDIR)/usr/share/man/man1
+ -mkdir -pv $(DESTDIR)/usr/share/man/man8
install -v -m 644 ipcalc.1 $(DESTDIR)/usr/share/man/man1
+ install -v -m 644 securetty.8 $(DESTDIR)/usr/share/man/man8
console_check: console_check.o
$(CC) $(LDFLAGS) -o $@ $<
--- /dev/null
+.\" Copyright 2009 Petr Lautrbach (plautrba@redhat.com)
+.TH securetty 8 2009-10-27 "" "System Administration tools and Daemons"
+.SH NAME
+securetty \- add a tty to /etc/securetty
+.SH SYNOPSIS
+.B securetty \fItty\fP
+.SH DESCRIPTION
+.B securetty
+safely adds \fItty\fP to /etc/securetty.
+.SH NOTES
+.B securetty
+is not normally meant to be run by hand; it is invoked by the upstart job that
+sets up the system serial console.
+.SH "SEE ALSO"
+.BR securetty(5)