Filename: Private: No Yes Filetype: Auto ABAP Sophia Apex Azure CLI Batch Bicep C Cameligo Clojure CoffeeScript C++ C# CSP CSS Cypher Dart Dockerfile ECL Elixir Flow9 FreeMarker2 FreeMarker2 (Angle/Bracket) FreeMarker2 (Angle/Dollar) FreeMarker2 (Auto/Bracket) FreeMarker2 (Auto/Dollar) FreeMarker2 (Bracket/Bracket) FreeMarker2 (Bracket/Dollar) F# Go GraphQL Handlebars Terraform HTML Ini Java JavaScript Julia Kotlin Less Lexon Liquid Lua Modula-3 Markdown MDX MIPS DAX MySQL Objective-C Pascal Pascaligo Perl PostgreSQL PHP Plain text ATS PQ PowerShell Protobuf Pug Python Q# R Razor Redis Redshift ReStructuredText Ruby Rust Small Basic Scala Scheme Sass Shell Solidity SPARQL SQL StructuredText Swift SV Tcl Twig TypeScript TypeSpec Visual Basic V WebGPU Shading Language XML YAML Indentation: Spaces Tabs 1 2 3 4 5 6 7 8 Clone parts = templates/header.tmpl templates/footer.tmpl work = templates/workshops.tmpl $(parts) destination = yuhu.biz:nullconf.ca/ # Do not print the executed commands .SILENT: all: index.html about.html workshops.html index.html: templates/index.tmpl sed 's/__$@__/active/;s/__[a-z]\+__//;s/__SUB__//' templates/header.tmpl > $@ cat templates/$(basename $@).tmpl templates/footer.tmpl >> $@ printf "%16s done\n" $(basename $@) workshops.html: $(parts) templates/workshops.tmpl sed 's/__$@__/active/;s/__[a-z]\+__//;s/__SUB__/class="sub_page"/' templates/header.tmpl > $@ cat templates/$(basename $@).tmpl templates/footer.tmpl >> $@ printf "%16s done\n" $(basename $@) about.html: $(parts) templates/$(basename $(notdir $@)).tmpl sed 's/__$(basename $@)__/active/;s/__[a-z]\+__//;s/__SUB__/class="sub_page"/' templates/header.tmpl > $@ cat templates/$(basename $@).tmpl templates/footer.tmpl >> $@ printf "%16s done\n" $@ push: all rsync --exclude=tmp --exclude='*~' --exclude=templates -aHv * $(destination) Paste