X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/2853692a9ee7d0b451096f06e8f752d6551f5245..2b675d20bcc1bf7f520f2d614475c7d3857191ef:/Makefile diff --git a/Makefile b/Makefile index b95cee4..93c5003 100644 --- a/Makefile +++ b/Makefile @@ -49,8 +49,8 @@ ifeq ($(uname_O),Cygwin) NEEDS_LIBICONV = YesPlease endif -ifeq ($(uname_S),FreeBSD) - # Apparantly libiconv is installed in /usr/local on FreeBSD +ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD)) + # Apparantly libiconv is installed in /usr/local on BSD LDFLAGS ?= -L/usr/local/lib CFLAGS ?= -I/usr/local/include NEEDS_LIBICONV = yes @@ -243,7 +243,7 @@ $(DOC_PDF): %.pdf : %.txt a2x -f pdf cgitrc.5.txt clean: clean-doc - rm -f cgit VERSION *.o *.d + rm -f cgit VERSION *.o *.d tags clean-doc: rm -f cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo