]> git.sur5r.net Git - i3/i3status/blob - Makefile
Debian: Change maintainer email address, set DM-Upload-Allowed field
[i3/i3status] / Makefile
1 CFLAGS+=-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
2 CFLAGS+=-g
3 CFLAGS+=-std=gnu99
4 CFLAGS+=-pedantic
5 CFLAGS+=-DPREFIX=\"\"
6
7 ifeq ($(shell uname),Linux)
8 CFLAGS+=-DLINUX
9 endif
10
11 # Define this if you want i3status to spit out dzen2-compatible output on stdout
12 CFLAGS+=-DDZEN
13
14 i3status: i3status.o i3status.h
15
16 clean:
17         rm -f *.o
18
19 distclean: clean
20         rm -f i3status
21
22 install:
23         install -m 755 -d $(DESTDIR)/usr/bin
24         install -m 755 -d $(DESTDIR)/etc
25         install -m 755 -d $(DESTDIR)/usr/share/man/man1
26         install -m 755 i3status $(DESTDIR)/usr/bin/i3status
27         install -m 644 i3status.conf $(DESTDIR)/etc/i3status.conf
28         install -m 644 i3status.1 $(DESTDIR)/usr/share/man/man1
29
30 release:
31         tar cjf i3status.tar.bz2 *.c *.h *.1 *.conf Makefile
32
33 all: i3status