From: Michael Stapelberg Date: Mon, 12 Oct 2009 07:59:11 +0000 (+0200) Subject: Generate manpage in Makefile X-Git-Tag: 2.0~22 X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3status;a=commitdiff_plain;h=a291596367c01c3dbc7c40efff4ff04834196f89 Generate manpage in Makefile --- diff --git a/Makefile b/Makefile index 2e9f93a..78984f6 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,8 @@ src/%.o: src/%.c @$(CC) $(CFLAGS) -c -o $@ $< @echo " CC $<" +all: i3status manpage + i3status: ${OBJS} @$(CC) -o $@ src/*.o *.o $(LDFLAGS) @echo " LD $@" @@ -43,6 +45,9 @@ clean: distclean: clean rm -f i3status +manpage: + make -C man + install: install -m 755 -d $(DESTDIR)/usr/bin install -m 755 -d $(DESTDIR)/etc @@ -57,5 +62,3 @@ release: 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