@$(CC) $(CFLAGS) -c -o $@ $<
@echo " CC $<"
+all: i3status manpage
+
i3status: ${OBJS}
@$(CC) -o $@ src/*.o *.o $(LDFLAGS)
@echo " LD $@"
distclean: clean
rm -f i3status
+manpage:
+ make -C man
+
install:
install -m 755 -d $(DESTDIR)/usr/bin
install -m 755 -d $(DESTDIR)/etc
find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|1\|h\)" -or -name "Makefile" \) -exec cp '{}' i3status-${VERSION} \;
tar cjf i3status-${VERSION}.tar.bz2 i3status-${VERSION}
rm -rf i3status-${VERSION}
-
-all: i3status