Skip to content

Commit

Permalink
Fixed call to help2man (user devices not affected)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSignPainter98 committed Dec 29, 2020
1 parent bdf9773 commit dea2553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ kle-colouriser.1.gz: kle-colouriser.1
gzip -kf $<

kle-colouriser.1: kle-colouriser src/kle_colouriser/version.py kle-colouriser.yml
help2man --no-info --no-discard-stderr --name "$$(yq -y .desc kle-colouriser.yml | head -n -1)" $< > $@
help2man --no-info --no-discard-stderr --name "$$(yq -y .desc kle-colouriser.yml | head -n -1)" ./$< > $@

src/kle_colouriser/version.py: src/kle_colouriser/version.py.in kle-colouriser.yml
(sed "s/s_version/$(VERSION)/" | sed "s/s_name/$(shell yq -y .name kle-colouriser.yml | head -n1)/" | sed "s/s_desc/$(shell yq -y .desc kle-colouriser.yml | head -n1)/") < $< > $@
Expand Down

0 comments on commit dea2553

Please sign in to comment.