mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-18 06:59:43 +02:00
Makefile (man): generate and display the man page
This commit is contained in:
parent
e3deb3978f
commit
228f7b47f7
12
Makefile
12
Makefile
@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# Makefile - Makefile of fped, the footprint editor
|
# Makefile - Makefile of fped, the footprint editor
|
||||||
#
|
#
|
||||||
# Written 2009-2012 by Werner Almesberger
|
# Written 2009-2012, 2015 by Werner Almesberger
|
||||||
# Copyright 2009-2012 by Werner Almesberger
|
# Copyright 2009-2012, 2015 by Werner Almesberger
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -90,7 +90,7 @@ endif
|
|||||||
# ----- Rules -----------------------------------------------------------------
|
# ----- Rules -----------------------------------------------------------------
|
||||||
|
|
||||||
.PHONY: all dep depend clean spotless
|
.PHONY: all dep depend clean spotless
|
||||||
.PHONY: install uninstall manual upload-manual
|
.PHONY: install uninstall manual upload-manual man
|
||||||
.PHONY: montage test tests valgrind
|
.PHONY: montage test tests valgrind
|
||||||
|
|
||||||
.SUFFIXES: .fig .xpm .ppm
|
.SUFFIXES: .fig .xpm .ppm
|
||||||
@ -151,6 +151,12 @@ upload-manual: manual
|
|||||||
scp $(XPMS:%.xpm=manual/%.png) $(PNGS:%=manual/%) \
|
scp $(XPMS:%.xpm=manual/%.png) $(PNGS:%=manual/%) \
|
||||||
$(UPLOAD)/manual/
|
$(UPLOAD)/manual/
|
||||||
|
|
||||||
|
# ---- Format the man page ----------------------------------------------------
|
||||||
|
|
||||||
|
man:
|
||||||
|
# less is for converting overstriking to bold
|
||||||
|
groff -Tascii -mandoc fped.1 | less
|
||||||
|
|
||||||
# ----- Debugging help --------------------------------------------------------
|
# ----- Debugging help --------------------------------------------------------
|
||||||
|
|
||||||
montage:
|
montage:
|
||||||
|
Loading…
Reference in New Issue
Block a user