Skip to content

Commit

Permalink
Makefile: update
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Dec 6, 2021
1 parent 8bd35ea commit 0cdecee
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# paths
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
include config.mk

MAN = $(subst .1.pod,.1,$(wildcard *.pod))
SRC = $(MAN:.1=)

all: $(MAN)
all: $(SRC) $(MAN)

%: %.in
sed "s/@VERSION@/$(VERSION)/" $< > $@

%: %.pod
pod2man --nourls -r 0.2 -c ' ' -n $(basename $@) \
Expand Down

0 comments on commit 0cdecee

Please sign in to comment.