Skip to content

Commit

Permalink
[build:Makefile] Remove unnecessary SYSCONFDIR
Browse files Browse the repository at this point in the history
Authored by: bashonly
  • Loading branch information
bashonly committed Feb 14, 2024
1 parent a77e9ad commit e0cb758
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ MANDIR ?= $(PREFIX)/man
SHAREDIR ?= $(PREFIX)/share
PYTHON ?= /usr/bin/env python3

# set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
SYSCONFDIR != if [ "$(PREFIX)" = "/usr" -o "$(PREFIX)" = "/usr/local" ]; then echo /etc; else echo $(PREFIX)/etc; fi

# set markdown input format to "markdown-smart" for pandoc version 2 and to "markdown" for pandoc prior to version 2
MARKDOWN != if [ "`pandoc -v | head -n1 | cut -d' ' -f2 | head -c1`" -ge "2" ]; then echo markdown-smart; else echo markdown; fi

Expand Down

0 comments on commit e0cb758

Please sign in to comment.