diff options
| author | Michael Stapelberg | 2009-10-12 09:59:11 +0200 | 
|---|---|---|
| committer | Michael Stapelberg | 2009-10-12 09:59:11 +0200 | 
| commit | a291596367c01c3dbc7c40efff4ff04834196f89 (patch) | |
| tree | b07adae0823fa9909ba38cc383f395b031e75b4d | |
| parent | Add manpage in asciidoc format (diff) | |
Generate manpage in Makefile
| -rw-r--r-- | Makefile | 7 | 
1 files changed, 5 insertions, 2 deletions
| @@ -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 | 
