[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: |
Mon, 21 Mar 2011 22:37:43 +0000 |
CVSROOT: /cvsroot/www-el
Module name: www-el
Changes by: Georgios Zarkadas <gzarkadas> 11/03/21 22:37:43
Modified files:
. : GNUmakefile
Log message:
more fixups
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/www-el/GNUmakefile?cvsroot=www-el&r1=1.17&r2=1.18
Patches:
Index: GNUmakefile
===================================================================
RCS file: /cvsroot/www-el/www-el/GNUmakefile,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- GNUmakefile 21 Mar 2011 22:05:51 -0000 1.17
+++ GNUmakefile 21 Mar 2011 22:37:43 -0000 1.18
@@ -226,11 +226,11 @@
# To find prefix, make REPO lowercase and substitute arch by tla
#
-repoprefix := $(subst arch,tla,$(shell echo $(REPO) | tr A-Z a-z))
+repoprefix = $(subst arch,tla,$(shell echo $(REPO) | tr A-Z a-z))
-repoupdate := $(repoprefix)-update
-repocommit := $(repoprefix)-commit
-repotag := $(repoprefix)-tag
+repoupdate = $(repoprefix)-update
+repocommit = $(repoprefix)-commit
+repotag = $(repoprefix)-tag
# Targets
@@ -257,7 +257,7 @@
ifeq ($(VCS),yes)
@echo Updating the repositories... | tee -a $(LOGFILE)
cd $(wwwdir) && $(cvs-update)
- $(repoupdate) | tee -a $(LOGFILE)
+ @$(repoupdate) | tee -a $(LOGFILE)
else
$(info $(noupdmsg)) | tee -a $(LOGFILE)
endif
@@ -278,10 +278,15 @@
fi; \
done | tee -a $(LOGFILE)
ifeq ($(VCS),yes)
- $(repotag) | tee -a $(LOGFILE)
- $(repocommit) | tee -a $(LOGFILE)
+ @$(repotag) | tee -a $(LOGFILE)
+ @$(repocommit) | tee -a $(LOGFILE)
endif
+# Helper target to tag repository with the same tag class used by sync target.
+.PHONY: tag
+tag:
+ @$(repotag) | tee -a $(LOGFILE)
+
# Helper target to check which articles have to be updated.
.PHONY: report
report:
- [www-el-commits] www-el GNUmakefile,
Georgios Zarkadas <=
- [www-el-commits] www-el GNUmakefile, Georgios Zarkadas, 2011/03/21
- [www-el-commits] www-el GNUmakefile, Georgios Zarkadas, 2011/03/21
- [www-el-commits] www-el GNUmakefile, Georgios Zarkadas, 2011/03/21
- [www-el-commits] www-el GNUmakefile, Georgios Zarkadas, 2011/03/22
- [www-el-commits] www-el GNUmakefile, Georgios Zarkadas, 2011/03/26