[i3] i3status patch to avoid shipping generated file

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

Hi again --

Here is yet another patch (am I getting annoying yet?) that avoids the
inclusion of man/i3status.1 in the release tarball; it is generated by
man/Makefile, and so shouldn't be there.

Well, unless you don't want to expect people downloading the tarball to have
a2x. I dunno whether it's reasonable to expect that or not, but if you don't
want to expect it, then the previous patch to avoid making i3status.1 if it's
already there is more important. But I'm not in charge! Somebody else gets
to decide! The benefits of being a grunt... =)

pete

diff -ru i3status-2.0.orig/Makefile i3status-2.0/Makefile
--- i3status-2.0.orig/Makefile 2009-10-27 15:33:42.000000000 -0400
+++ i3status-2.0/Makefile 2010-02-13 16:43:23.078984660 -0500
@@ -63,6 +63,6 @@
mkdir i3status-${VERSION}/src
mkdir i3status-${VERSION}/man
find src -maxdepth 1 -type f \( -regex ".*\.\(c\|h\)" \) -exec cp '{}'
i3status-${VERSION}/src \;
- find man -maxdepth 1 -type f \( -regex ".*\.\(1\|man\|conf\)" -or -name
"Makefile" \) -exec cp '{}' i3status-${VERSION}/man \;
+ find man -maxdepth 1 -type f \( -regex ".*\.\(man\|conf\)" -or -name
"Makefile" \) -exec cp '{}' i3status-${VERSION}/man \;
tar cjf i3status-${VERSION}.tar.bz2 i3status-${VERSION}
rm -rf i3status-${VERSION}
Only in i3status-2.0/: .Makefile.swp
Only in i3status-2.0/man: i3status.1

Other related posts:

  • » [i3] i3status patch to avoid shipping generated file - Peter Johnson