File tree Expand file tree Collapse file tree 2 files changed +1689
-1645
lines changed Expand file tree Collapse file tree 2 files changed +1689
-1645
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,13 @@ endef
72
72
WG21 := $(HOME ) /src/cplusplus
73
73
DRAFT := $(WG21 ) /draft
74
74
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
76
76
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
77
77
78
78
# Before running this, rebuild the C++ draft at the desired commit.
79
79
# That ensures the .aux files match the content of the relevant draft.
80
80
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 ) > $@
82
82
83
83
net-ts-sources := $(wildcard $(NET ) /src/* .aux)
84
84
# This target has no prerequisites, so it won't complain if the net-ts sources
You can’t perform that action at this time.
0 commit comments