]> gitweb.ps.run Git - ps-cgit/blobdiff - Makefile
Makefile: remove tags file
[ps-cgit] / Makefile
index 1e341295f64fc916595ee82f1c41ca24754c1ef2..93c500341b3a9eb687d7306826ef79e1856c2a1c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,13 @@ ifeq ($(uname_O),Cygwin)
        NEEDS_LIBICONV = YesPlease
 endif
 
+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
+endif
+
 #
 # Let the user override the above settings.
 #
@@ -236,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