File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Makefile to generate the CSS2 document based on its "source files"
22# Arnaud Le Hors - lehors@w3.org
3- # $Id: Makefile,v 2.64 2002-11-18 22:59:56 bbos Exp $
3+ # $Id: Makefile,v 2.65 2003-01-10 23:08:25 bbos Exp $
44
55# what needs to be set for every new release:
66# Note use of full year (1998) in identifier.
7- THE_PREVIOUS_VERSION = http://www.w3.org/TR/2002/WD-CSS21-20020802
7+ PREV_YEAR = 2002
8+ PREV_DATE = 20020802
89PERMANENT_NAME = CSS21
10+ THE_PREVIOUS_VERSION = http://www.w3.org/TR/$(PREV_YEAR ) /WD-$(PERMANENT_NAME ) -$(PREV_DATE )
911THE_YEAR = 200?
1012THE_DATE = ?? ???? $(THE_YEAR )
1113THE_ID = WD-$(PERMANENT_NAME ) -$(THE_YEAR ) ????
@@ -553,6 +555,18 @@ realclean: clean
553555depend :
554556 $(HMKDEPEND ) $(SPECOBJS )
555557
556- .PHONY : all install install-all clean realclean checkx
558+ # Rules to make diff files relative to previous REC.
559+ # htmldiff returns >0 if there are differences, so we ignore the exit code.
560+
561+ PREVREC = ../../../TR/1998/REC-CSS2-19980512
562+ DIFFS = $(SPECOBJS:.html=-diff.html )
563+ HTMLDIFF = htmldiff -i -w '<del>' -x '</del>' -y '<ins>' -z '</ins>'
564+
565+ % -diff.html : % .html $(PREVREC ) /% .html
566+ -$(HTMLDIFF ) $(PREVREC ) /$< $< > $@
567+
568+ diffs : $(DIFFS )
569+
570+ .PHONY : all install install-all clean realclean checkx diffs
557571
558572# #### The following is automatically generated. Do not edit!! ####
You can’t perform that action at this time.
0 commit comments