diff options
author | Christian Hesse <mail@eworm.de> | 2023-08-07 14:37:52 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-08-07 22:10:44 +0200 |
commit | 1b947f445bfffb099b0f0fdc2011672ae716aa51 (patch) | |
tree | 26089caffb01073a386bb6498b3781268de2c596 /Makefile | |
parent | c37739c2f6b050c965e0fa734309e1ecbed90add (diff) |
Makefile: drop path rewriting, use pattern to filter
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,12 +15,12 @@ all: $(CAPSMAN) $(LOCAL) $(HTML) markdown $< | sed 's/href="\([-_\./[:alnum:]]*\)\.md"/href="\1.html"/g' > $@ %.local.rsc: %.template.rsc Makefile - sed -e '/\/caps-man/d' -e 's|%PATH%|interface\/wireless|' -e 's|%TEMPL%|.local|' \ + sed -e '/\/caps-man/d' -e 's|%TEMPL%|.local|' \ -e '/^# !!/,/^# !!/c # !! Do not edit this file, it is generated from template!' \ < $< > $@ %.capsman.rsc: %.template.rsc Makefile - sed -e '/\/interface\/wireless/d' -e 's|%PATH%|caps-man|' -e 's|%TEMPL%|.capsman|' \ + sed -e '/\/interface\/wireless/d' -e 's|%TEMPL%|.capsman|' \ -e '/^# !!/,/^# !!/c # !! Do not edit this file, it is generated from template!' \ < $< > $@ |