1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-09-30 13:26:01 +03:00

Makefile (man): generate and display the man page

This commit is contained in:
Werner Almesberger 2016-03-21 19:58:28 -03:00
parent e3deb3978f
commit 228f7b47f7

View File

@ -1,8 +1,8 @@
#
# Makefile - Makefile of fped, the footprint editor
#
# Written 2009-2012 by Werner Almesberger
# Copyright 2009-2012 by Werner Almesberger
# Written 2009-2012, 2015 by Werner Almesberger
# Copyright 2009-2012, 2015 by Werner Almesberger
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -90,7 +90,7 @@ endif
# ----- Rules -----------------------------------------------------------------
.PHONY: all dep depend clean spotless
.PHONY: install uninstall manual upload-manual
.PHONY: install uninstall manual upload-manual man
.PHONY: montage test tests valgrind
.SUFFIXES: .fig .xpm .ppm
@ -151,6 +151,12 @@ upload-manual: manual
scp $(XPMS:%.xpm=manual/%.png) $(PNGS:%=manual/%) \
$(UPLOAD)/manual/
# ---- Format the man page ----------------------------------------------------
man:
# less is for converting overstriking to bold
groff -Tascii -mandoc fped.1 | less
# ----- Debugging help --------------------------------------------------------
montage: