diff --git a/Makefile b/Makefile index 2683a5b..26055f2 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ debug: # ps - page with shell code # pa - page with asciidoctor code # pt - page with plain text +# everything will be converted to html PH_FILES != find src -type f -name "*.ph" | sed 's|src/||g' PM_FILES != find src -type f -name "*.pm" | sed 's|src/||g' @@ -18,7 +19,10 @@ PS_FILES != find src -type f -name "*.ps" | sed 's|src/||g' PA_FILES != find src -type f -name "*.pa" | sed 's|src/||g' PT_FILES != find src -type f -name "*.pt" | sed 's|src/||g' +# put static files and dirs into .control/static-files. Globbing is supported. STATIC_FILES != cat .control/static-files + +# put a local directory or a remote server with path (ssh notation) in here. REMOTE != cat .control/remote-ssh-target $(PH_FILES): @@ -90,7 +94,9 @@ _install: website #### HELPER TARGETS #### -edit-css: - vim src/assets/style.css - make install - make edit-css +css: + @vim src/assets/style.css + @echo rebuild? + @read + @make install + @make css diff --git a/src/smoke/index.ph b/src/smoke/index.ph index 701270a..f90cf89 100644 --- a/src/smoke/index.ph +++ b/src/smoke/index.ph @@ -4,5 +4,5 @@