Skip to content

Commit f07e26e

Browse files
committed
Update section data for N4993
N4993 rearranged many of the clauses and subclauses, so there's quite a bit of activity in `section_data`. Note that the format of the `aux` files has also seemingly changed, I had to update the filters quite a bit.
1 parent e8f41bc commit f07e26e

File tree

2 files changed

+1689
-1645
lines changed

2 files changed

+1689
-1645
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ endef
7272
WG21 := $(HOME)/src/cplusplus
7373
DRAFT := $(WG21)/draft
7474
NET := $(WG21)/networking-ts
75-
filter-annex-f := sed 's/\\newlabel{\([^}]*\)}.*TitleReference {\([^}]*\)}.*/\1 \2/' | sed 's/\\newlabel{\([^}]*\)}{{\(Clause\|Annex\) \([^}]*\)}.*/\1 \3/' | grep -v "aux:tab:" | grep -v "aux:fig:" | sed 's/\(.*\).aux://' | grep -v '^\\' | sort
75+
filter-annex-f := grep -v '\\newlabel{\(fig\|tab\):' | sed 's/^.*\.aux://' | sed 's/^\\newlabel{\([^}]*\)}{{\([^}]*\)}.*/\1 \2/' | grep -v '^\\' | sed 's/\(Clause\|Annex\) //' | sort
7676
filter-net-ts-annex-f := sed 's/\\newlabel{\([^}]*\)}.*TitleReference {\([^}]*\)}.*/\1 \2/' | sed 's/\\newlabel{\([^}]*\)}.*Clause \([^}]*\)}.*/\1 \2/' | sed 's/\\newlabel{\([^}]*\)}.*Annex \([^}]*\)}.*/\1 \2/' | grep -v "aux:tab:" | grep -v "aux:fig:" | sed 's/\(.*\).aux://' | grep -v '^\\' | sort
7777

7878
# Before running this, rebuild the C++ draft at the desired commit.
7979
# That ensures the .aux files match the content of the relevant draft.
8080
meta-data/annex-f: $(wildcard $(DRAFT)/source/*.aux)
81-
test -d "$(DRAFT)" && grep newlabel $^ | $(filter-annex-f) > $@
81+
test -d "$(DRAFT)" && grep '^\\newlabel{' $^ | $(filter-annex-f) > $@
8282

8383
net-ts-sources := $(wildcard $(NET)/src/*.aux)
8484
# This target has no prerequisites, so it won't complain if the net-ts sources

0 commit comments

Comments
 (0)