Lady’s Gitweb
/
Shushe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
inline
| side by side (parent:
630f5bf
)
Get rid of weird superfluous sed in i·d fallback
author
Lady
<redacted>
Tue, 16 Jan 2024 01:01:57 +0000
(20:01 -0500)
committer
Lady
<redacted>
Thu, 18 Jan 2024 02:36:11 +0000
(21:36 -0500)
GNUmakefile
patch
|
blob
|
history
README.markdown
patch
|
blob
|
history
diff --git
a/GNUmakefile
b/GNUmakefile
index 085b4c28d0428365aa6fe6dd858623774be27e4a..be1cf1a372bdb6fc6bd526419688b5a184252197 100644
(file)
--- a/
GNUmakefile
+++ b/
GNUmakefile
@@
-234,7
+234,7
@@
override assetfiles := $(filter-out $(xmlfiles) $(plaintextfiles),$(sourcefiles)
override typeoffile = $(patsubst $(foreach file,$1,$(file)?type=%),%,$(filter $(foreach file,$1,$(file)?type=%),$(types)))
# (callable) Get the identifier for the given transform.
override typeoffile = $(patsubst $(foreach file,$1,$(file)?type=%),%,$(filter $(foreach file,$1,$(file)?type=%),$(types)))
# (callable) Get the identifier for the given transform.
-override id = $(or $(shell $(XMLLINT) --xpath '/*/*[local-name()="id" and namespace-uri()="urn:fdc:ladys.computer:20231231:Shu1She4"]/text()[1]' $1),$(basename $(notdir $1))
| $(SED)
)
+override id = $(or $(shell $(XMLLINT) --xpath '/*/*[local-name()="id" and namespace-uri()="urn:fdc:ladys.computer:20231231:Shu1She4"]/text()[1]' $1),$(basename $(notdir $1)))
# (callable) Get the local path for the given source file.
override sourcepath = $(firstword $(foreach directory,$(SRCDIR),$(if $(filter $(directory)/%,$1),$(patsubst $(directory)/%,%,$1),)))
# (callable) Get the local path for the given source file.
override sourcepath = $(firstword $(foreach directory,$(SRCDIR),$(if $(filter $(directory)/%,$1),$(patsubst $(directory)/%,%,$1),)))
diff --git
a/README.markdown
b/README.markdown
index 89dfd2efddc97526a4dbb4448ffff77f1a82dd94..8e56f29ac40561d77954a326db73c763f4f1654c 100644
(file)
--- a/
README.markdown
+++ b/
README.markdown
@@
-382,7
+382,7
@@
In addition to being called with the transform result, each of these
modes will additionally be called with a `<xslt:include>` element
corresponding to each transform.
If a transform has a `<书社:id>` top‐level element whose value is an
modes will additionally be called with a `<xslt:include>` element
corresponding to each transform.
If a transform has a `<书社:id>` top‐level element whose value is an
- i·r·i, its `<xslt:i
mport
>` element will have a corresponding
+ i·r·i, its `<xslt:i
nclude
>` element will have a corresponding
`@书社:id` attribute.
This mechanism can be used to allow transforms to insert content
without matching any elements in the result; for example, the
`@书社:id` attribute.
This mechanism can be used to allow transforms to insert content
without matching any elements in the result; for example, the
This page took
0.136742 seconds
and
4
git commands to generate.