update po/.gitignore
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 9 Dec 2009 01:41:57 +0000 (19:41 -0600)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 9 Dec 2009 08:56:43 +0000 (10:56 +0200)
Since the *.gmo files are deleted by the maintainer-clean target,
I assume they are not meant to be tracked.

Also add the other files listed in the Makefile’s clean targets
(stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
are not accidentally tracked.  Most of these are intermediate
files that would not appear unless a build is interrupted or
fails.

Split the list of untracked files by origin to make it easier to
tell if files are missing in the future.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
po/.gitignore

index 5db2e66..d201729 100644 (file)
@@ -1,15 +1,31 @@
+# autopoint
+Makefile.in.in
+Makevars.template
+Rules-quot
 boldquot.sed
 en@boldquot.header
 en@quot.header
 insert-header.sin
-Makefile
+quot.sed
+remove-potcdate.sin
+
+# configure
 Makefile.in
-Makefile.in.in
-Makevars.template
+Makefile
 POTFILES
-quot.sed
+
+# intermediate files (make)
+stamp-poT
+xz.po
+xz.1po
+xz.2po
+*.new.po
+
+# make
 remove-potcdate.sed
-remove-potcdate.sin
-Rules-quot
+xz.mo
 stamp-po
+*.gmo
+
+# cached templates (make)
 xz.pot