File: Makefile.am

package info (click to toggle)
squizz 0.99d%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,772 kB
  • sloc: sh: 4,799; ansic: 2,640; lex: 1,992; yacc: 1,650; makefile: 123
file content (34 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

SUFFIXES = .pod .man .html

CLEAN = sed -e 's,^ ,,' -e 's,^<link .* />,,'

MANARGS = -c 'User Manuals' -r 'Unix'
HTMARGS = --noindex

man1_MANS = squizz.man
man5_MANS = seqfmt.man alifmt.man

html_DATA = seqfmt.html alifmt.html

PODS = squizz.pod seqfmt.pod alifmt.pod

EXTRA_DIST = $(man1_MANS) $(man5_MANS) $(html_DATA) $(PODS)

.pod.man:
	$(POD2MAN) $(MANARGS) $< >$@ && touch $@

.pod.html:
	$(POD2HTM) $(HTMARGS) --title=$* --infile=$< | \
	  $(CLEAN) >$@ && touch $@
	@rm -f pod2htmd.tmp pod2htmi.tmp

## Maintainer parano checks
parano:
	for p in $(PODS); do \
	  podchecker --warning --warning $$p; \
	done
	for h in $(html_DATA); do \
	  xmllint --valid $$h >/dev/null; \
	done