[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[www-el-commits] www-el GNUmakefile
From: |
Georgios Zarkadas |
Subject: |
[www-el-commits] www-el GNUmakefile |
Date: |
Sun, 06 Feb 2011 21:44:27 +0000 |
CVSROOT: /cvsroot/www-el
Module name: www-el
Changes by: Georgios Zarkadas <gzarkadas> 11/02/06 21:44:27
Modified files:
. : GNUmakefile
Log message:
updates to log and makefile
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/www-el/GNUmakefile?cvsroot=www-el&r1=1.11&r2=1.12
Patches:
Index: GNUmakefile
===================================================================
RCS file: /cvsroot/www-el/www-el/GNUmakefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- GNUmakefile 28 Apr 2010 15:02:45 -0000 1.11
+++ GNUmakefile 6 Feb 2011 21:44:27 -0000 1.12
@@ -54,25 +54,29 @@
# Additions by www-el team <start>
VIEWFUZZY := view-fuzzy -h b -g8 --merge
+
+# script to be created by publish target (commits all published .po files)
commitfile := ../www/commit-pub
+# Paths to exclude from search (for example tools or test sub-directories).
+# Space separated list of {-not -path <path wildcard>} items.
+EXCLUDED := -not -path './__tools__/*'
+
# FIXME: this is too hack-ish; please improve
define commit_header
-#!/bin/bash^\
+#!/bin/sh^\
# Auto-generated by team GNUmakefile^\
# Commits currently published team po files^\
-msg=".@"^\
-cvs commit -m ".{msg}" .( { cat << EOF
+cvs commit -m ".@" `cat <<< '
endef
define commit_footer
-EOF^\
-} | tr "\n" " " )
+' | tr '\n' ' '`
endef
# Additions by www-el team <end>
-translations := $(shell find -name '*.$(TEAM).po' | sort)
+translations := $(shell find -name '*.$(TEAM).po' $(EXCLUDED) | sort)
log := "Automatic merge from the master repository."
# Warning message for the `publish' rule.
pubwmsg := "Warning (%s): %s\n does not exist; (either obsolete or \`cvs\
- [www-el-commits] www-el GNUmakefile,
Georgios Zarkadas <=