]> git.sur5r.net Git - i3/i3status/blobdiff - Makefile
wifi: properly display ad-hoc networks
[i3/i3status] / Makefile
index 493c5394fcf670e819ce16447549af000c1da05b..eb7da6e81a44840f0c9862858d0b2e4b85fc6327 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,13 @@ LDFLAGS+=-L/usr/local/lib/
 LIBS+=-lossaudio
 endif
 
+# This probably applies for any pkgsrc based system
+ifeq ($(shell uname),DragonFly)
+CFLAGS+=-I/usr/pkg/include/
+LDFLAGS+=-L/usr/pkg/lib/
+endif
+
+
 CFLAGS+=$(EXTRA_CFLAGS)
 
 # Fallback for libyajl 1 which did not include yajl_version.h. We need
@@ -91,6 +98,7 @@ release:
        find man -maxdepth 1 -type f \( -regex ".*\.\(1\|man\|conf\)" -or -name "Makefile" \) -exec cp '{}' i3status-${VERSION}/man \;
        cp -r include i3status-${VERSION}
        cp -r yajl-fallback i3status-${VERSION}
+       cp -r contrib i3status-${VERSION}
        sed -e 's/^GIT_VERSION:=\(.*\)/GIT_VERSION=${GIT_VERSION}/g;s/^VERSION:=\(.*\)/VERSION=${VERSION}/g' Makefile > i3status-${VERSION}/Makefile
        tar cjf i3status-${VERSION}.tar.bz2 i3status-${VERSION}
        rm -rf i3status-${VERSION}