[sawfish] make make-pot work in an empty tree



commit 49350513e3c3d04da99dd51f48ef58c7eb793bf3
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Fri Dec 18 23:07:16 2009 +0100

    make make-pot work in an empty tree

 ChangeLog   |    2 ++
 po/make-pot |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 210fd93..1edf15f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
 
 	* po/*.po: regenerated
 
+	* po/make-pot: make this work in an empty tree
+
 2009-12-15  Teika Kazura <teika lavabit com>
 	* man/news.texi: News items for 'libexec' -> 'lib' change, and need for sawfish-pager recompilation.
 
diff --git a/po/make-pot b/po/make-pot
index 2229c38..2ab5ff3 100755
--- a/po/make-pot
+++ b/po/make-pot
@@ -20,6 +20,10 @@
 # along with sawfish; see the file COPYING.  If not, write to
 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
+if [ ! -e ../DOC ]; then
+	repdoc ../DOC `find ../ \( -name '*.c' -o -name '*.jl' \) -print`
+fi
+
 REP_SRCS="../scripts/*.jl ../themes/*/theme.jl"
 REP_SRCS="$REP_SRCS `find ../lisp -name '*.jl' -print`"
 rm -f sawfish.pot



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]