Exclude dotfiles from po/POTFILES.in.
authorBen Pfaff <blp@gnu.org>
Thu, 26 Jan 2006 05:49:47 +0000 (05:49 +0000)
committerBen Pfaff <blp@gnu.org>
Thu, 26 Jan 2006 05:49:47 +0000 (05:49 +0000)
ChangeLog
Smake

index fef43d7b5f6baad5661cd2256a7ef56b2456d4f1..35f97e105745fee8683e9115666c8bb66424b10d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jan 25 21:48:20 2006  Ben Pfaff  <blp@gnu.org>
+
+       * Smake: (po/POTFILE.in) Exclude dotfiles.
+
 Sat Nov 27 20:29:19 2005 Jason Stover <jason@sakla.net>
 
        * Binary encoding for categorical variables.
diff --git a/Smake b/Smake
index 3b2a948b22bef0ea471f217c003ce902cff98cb2..0100edff49317a660a0e99a52e755345bcb50ab0 100644 (file)
--- a/Smake
+++ b/Smake
@@ -23,7 +23,8 @@ gettextize:
        gettextize -f -c --intl --no-changelog
 
 po/POTFILES.in:
-       for f in `find src -name \*.[qc] -print | sed 's/\.[qc]$$//'`; do \
+       for f in `find src -name \*.[qc] ! -name .\* -print \
+                 | sed 's/\.[qc]$$//'`; do \
                if test $$f = src/version.c; then break; fi;              \
                if test -e $$f.q; then echo $$f.q; else echo $$f.c; fi    \
        done | sort | uniq > $@.tmp