File: Makefile.am

package info (click to toggle)
axel 2.17.14-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,636 kB
  • sloc: sh: 4,868; ansic: 3,718; makefile: 97; sed: 16; awk: 9
file content (18 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
EXTRA_DIST += \
	doc/axelrc.example \
	doc/axel.txt

dist_man_MANS = doc/axel.1

PACKAGE_DESC = lightweight command line download accelerator
doc_reldate = @RELDATE_PRETTY@

.txt.1:
	tmp=$$(mktemp tmpXXXXXX) && \
	> "$$tmp" \
	txt2man -t "$(<:.txt=)" -s 1 \
		-d "$(doc_reldate)" \
		-P "$(PACKAGE_NAME)" \
		-r "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
		-v "$(PACKAGE_DESC)" $< &&\
	mv "$$tmp" $@ || { rm -f "$$tmp"; exit 1; }