Re: [i3] i3status patch for man/Makefile

  • From: Peter Johnson <tam@xxxxxxxxxxxxxx>
  • To: i3-discuss@xxxxxxxxxxxxx
  • Date: Sat, 13 Feb 2010 16:40:42 -0500

This time I'll actually attach the patch!

On Sat, Feb 13, 2010 at 04:38:30PM -0500, Peter Johnson wrote:

Hi again --

Here's a patch to take advantage of make's dependency checking to avoid
generating i3status.1 every time ``make'' is run. I've also cleaned up the
dependency hierarchy a bit; the new version makes things easier for me to
understand, and I think it will also make future additions simpler. (What are
i3status.xml and i3status.html? Vestiges of old documentation formats?)

pete

diff -ruN i3status-2.0.orig/man/Makefile i3status-2.0/man/Makefile
--- i3status-2.0.orig/man/Makefile 2009-10-27 15:33:42.000000000 -0400
+++ i3status-2.0/man/Makefile 2010-02-13 16:35:09.452298656 -0500
@@ -1,4 +1,6 @@
-all:
+all: i3status.1
+
+i3status.1: asciidoc.conf i3status.man
a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3status.man
clean:
rm -f i3status.xml i3status.1 i3status.html

Other related posts: