X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;h=e84d0cdaa29712d25261488b2f91ca60017fbc28;hb=9c14b7a527a34f0ed04a53c72fe85f4d21f094ec;hp=2b8f0cc3c7d46efad5acd938f78efd66df331c32;hpb=c303057868fae4e38949a8c79d4652c204ce2682;p=i3%2Fi3status diff --git a/Makefile b/Makefile index 2b8f0cc..e84d0cd 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ CFLAGS+=-lbsd endif # Define this if you want i3status to spit out dzen2-compatible output on stdout -CFLAGS+=-DDZEN +#CFLAGS+=-DDZEN CFLAGS+=$(EXTRA_CFLAGS) OBJS:=$(wildcard src/*.c *.c) @@ -59,6 +59,10 @@ install: release: [ -f i3status-${VERSION} ] || rm -rf i3status-${VERSION} mkdir i3status-${VERSION} - find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|1\|h\)" -or -name "Makefile" \) -exec cp '{}' i3status-${VERSION} \; + find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|h\)" -or -name "Makefile" -or -name "LICENSE" \) -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 \; + find man -maxdepth 1 -type f \( -regex ".*\.\(1\|man\|conf\)" -or -name "Makefile" \) -exec cp '{}' i3status-${VERSION}/man \; tar cjf i3status-${VERSION}.tar.bz2 i3status-${VERSION} rm -rf i3status-${VERSION}