File: Makefile

package info (click to toggle)
libvdestack 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 160 kB
  • sloc: ansic: 393; makefile: 17
file content (16 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (29)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
RONN=ronn
RONNOK := $(shell command -v ${RONN} 2> /dev/null)

none:

% : %.ronn
ifdef RONNOK
# copy copyright notice
		grep "^\.\\\\\"" $< > $@ || true
# run ronn
		$(RONN) -r ${RONN_ARGS} --pipe $< >> $@
# delete useless trailing "" in .TH
		sed -i '/^\.TH /s/ ""$$//' $@
else
		echo "${RONN} is not available. Manpage $@ cannot be updated" >/dev/stderr >&2
endif