X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;h=c5427b9995b473780afc5ed077c095efdfa8d515;hb=78c0a53c45428a9671c2d0c38dc5483f66465bf2;hp=86830ef49a2d811655d004ef495e2f126758cdfc;hpb=9f5ac89aa490f1fc8d1bf57106641c9ebaa2e9f3;p=i3%2Fi3status diff --git a/Makefile b/Makefile index 86830ef..c5427b9 100644 --- a/Makefile +++ b/Makefile @@ -99,6 +99,9 @@ i3status: ${OBJS} $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) @echo " LD $@" +test: i3status + LC_ALL=C ./travis/run-tests.pl + clean: rm -f *.o src/*.o @@ -113,8 +116,6 @@ install: install -m 755 -d $(DESTDIR)$(SYSCONFDIR) install -m 755 -d $(DESTDIR)$(MANPREFIX)/share/man/man1 install -m 755 i3status $(DESTDIR)$(PREFIX)/bin/i3status - # Allow network configuration for getting the link speed - (which setcap && setcap cap_net_admin=ep $(DESTDIR)$(PREFIX)/bin/i3status) || true install -m 644 i3status.conf $(DESTDIR)$(SYSCONFDIR)/i3status.conf install -m 644 man/i3status.1 $(DESTDIR)$(MANPREFIX)/share/man/man1