]> git.sur5r.net Git - i3/i3status/blobdiff - Makefile
Merge pull request #3 from chrko/master
[i3/i3status] / Makefile
index f454fe8b8607712935101f2d12c7ff6ae3b7a736..625b5220cf678e7014b250f1c5584728f4535076 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,12 +34,18 @@ ifeq ($(OS),GNU/kFreeBSD)
 LIBS+=-lbsd
 endif
 
-ifeq ($(OS),OpenBSD)
+ifneq (, $(filter $(OS), DragonFly FreeBSD OpenBSD))
 CFLAGS+=-I/usr/local/include/
 LDFLAGS+=-L/usr/local/lib/
+endif
+
+ifeq ($(OS),OpenBSD)
 LIBS+=-lossaudio
 endif
 
+ifeq ($(OS), NetBSD)
+LIBS+= -lprop
+endif
 
 # This probably applies for any pkgsrc based system
 ifneq (, $(filter $(OS), NetBSD DragonFly))
@@ -98,7 +104,7 @@ install:
 release:
        [ -f i3status-${VERSION} ] || rm -rf i3status-${VERSION}
        mkdir i3status-${VERSION}
-       find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|h\)" -or -name "Makefile" -or -name "LICENSE" -or -name "CHANGELOG" \) -exec cp '{}' i3status-${VERSION} \;
+       find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|h\)" -or -name "README" -or -name "Makefile" -or -name "LICENSE" -or -name "CHANGELOG" \) -exec cp '{}' i3status-${VERSION} \;
        mkdir i3status-${VERSION}/src
        mkdir i3status-${VERSION}/man
        find src -maxdepth 1 -type f \( -regex ".*\.\(c\|h\)" \) -exec cp '{}' i3status-${VERSION}/src \;