File: Makefile

package info (click to toggle)
pmars 0.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 960 kB
  • sloc: ansic: 12,475; makefile: 52
file content (17 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.SUFFIXES: .man .doc .6

all: man doc

man: pmars.man
doc: pmars.doc
pmars.doc: pmars.man
pmars.man: pmars.6

.6.man:
	@echo Building $*.man - online manual
	@nroff -e -man $*.6 > $*.man

.man.doc:
	@echo Building $*.doc - printable manual
	@cp $*.man $*.doc
	@ex $*.doc < makedoc.ex > /dev/null