File: makefile

package info (click to toggle)
mined 2000.10-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 10,904 kB
  • ctags: 2,258
  • sloc: ansic: 130,722; sh: 1,725; makefile: 260; perl: 169; sed: 152; cpp: 28
file content (22 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################################
# man page generator
HTMLtoMAN=./g.html2man


#############################################################################
# mined manual page

appl=mined
src=../doc/mined.html

man:	$(appl).1

$(appl).1:	$(src) $(HTMLtoMAN) dehtml.sed makefile
	sed -e 's,\\,\\\\,g' -f dehtml.sed $(src) > $(appl)
	LC_CTYPE=C $(HTMLtoMAN) $(appl) $(appl).0 1
	LC_CTYPE=C egrep . $(appl).0 > $(appl).1
	rm -f $(appl) $(appl).0


#############################################################################
# end