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

Unverbosifying wml



Hi,

I wonder what others think about the attached change to Makefile.common.

It will adjust the way wml is run depending on the TERM variable.
TERM=dumb is for the cron run and the else part is for an interactive
run.

This will have the benefit of keeping the logs clean of additional
information, but will have the interactive run use all possible
information and hints (like before).


Index: Makefile.common
===================================================================
RCS file: /cvs/webwml/webwml/Makefile.common,v
retrieving revision 1.63
diff -u -r1.63 Makefile.common
--- Makefile.common	2002/07/06 16:30:27	1.63
+++ Makefile.common	2002/07/22 09:52:13
@@ -12,7 +12,11 @@
 HTMLDIR = $(WMLBASE)/$(RELHTMLBASE)/$(CUR_DIR)
 
 LANGUAGECAP = $(shell echo $(LANGUAGE) | tr "a-z" "A-Z")
-WMLOPTIONS := -q -v1 -D CUR_YEAR=$(CUR_YEAR)
+ifeq ($(TERM),dumb)
+WMLOPTIONS := -q -D CUR_YEAR=$(CUR_YEAR)
+else
+WMLOPTIONS := -v1 -D CUR_YEAR=$(CUR_YEAR)
+endif
 WMLOUTFILE = $(@F)
 WMLPROLOG :=
 WMLEPILOG :=


Regards,

	Joey

-- 
All language designers are arrogant.  Goes with the territory...
	-- Larry Wall

Please always Cc to me when replying to me on the lists.


-- 
To UNSUBSCRIBE, email to debian-www-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: