Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Makefile: Avoid running "pandoc" as root
  • Loading branch information
donald committed Aug 12, 2021
1 parent fad0b54 commit d7d5638
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -87,4 +87,5 @@ install: all
.PHONY: all install clean

%.1: %.md
@if [ "$$UID" = 0 ]; then echo "Please build (\`make\`) as non-root before running \`make install\` as root" >&2;exit 1;fi
pandoc --standalone --to man $< -o $@

0 comments on commit d7d5638

Please sign in to comment.