diff options
Diffstat (limited to 'lib/lib-cpt.do')
-rw-r--r-- | lib/lib-cpt.do | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/lib-cpt.do b/lib/lib-cpt.do new file mode 100644 index 0000000..1d0a240 --- /dev/null +++ b/lib/lib-cpt.do @@ -0,0 +1,13 @@ +SRC_ROOT=.. + +# shellcheck source=../config.rc +. ${SRC_ROOT}/config.rc + +redo-ifchange cpt.in cpt-* + +cat cpt-* | +sed -e '/@AUTOLOADS@/r /dev/stdin' \ + -e '/CPT Library/,/@AUTOLOADS@/d' \ + cpt.in | +sed -e '/shellcheck source=lib-cpt/d'\ + -e '/# Local Variables:$/,/# End:$/d' > "$3" |