File: Makefile

package info (click to toggle)
libchipcard 5.1.0beta-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,688 kB
  • sloc: ansic: 21,052; xml: 6,746; sh: 4,177; makefile: 610; cpp: 448
file content (17 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all: chipcard-config.1 chipcard-tool.1 kvkcard.1

chipcard-config.1.generated.txt: ../../chipcard-config
	LANG=C ../../chipcard-config --help \
		| sed -e 's/^Usage:.*//;s/^.*chipcard-config --\(\w\+\)/--\1::\n/;' \
		> chipcard-config.1.generated.txt

chipcard-config.1: chipcard-config.1.txt chipcard-config.1.generated.txt
	a2x --doctype manpage --format manpage chipcard-config.1.txt

%: %.txt
	a2x --doctype manpage --format manpage $*.txt

clean:
	rm -fv chipcard-config.1.generated.txt *.1

.PHONY:	all clean