X-Git-Url: https://projects.mako.cc/source/fspm_howto/blobdiff_plain/d06d11874668939c18e1c02749edbab0e9795b2b..7df3cbfea26cf33bb13173e640053bf7df1bce33:/render_sgml diff --git a/render_sgml b/render_sgml index 7ce4f1d..ca55b21 100755 --- a/render_sgml +++ b/render_sgml @@ -1,14 +1,27 @@ -#!/usr/bin/zsh -mkdir -f ./tmp -sgmltools --backend=onehtml FreeSoftwareProjectManagementHOWTO.sgml -mv FreeSoftwareProjectManagementHOWTO.html ./tmp/FreeSoftwareProjectManagement-HOWTO.html -sgmltools --backend=html FreeSoftwareProjectManagementHOWTO.sgml -mv FreeSoftwareProjectManagementHOWTO ./tmp/FreeSoftwareProjectManagement-HOWTO -sgmltools --backend=txt FreeSoftwareProjectManagementHOWTO.sgml -mv FreeSoftwareProjectManagementHOWTO.txt ./tmp/FreeSoftwareProjectManagement-HOWTO.txt -sgmltools --backend=ps FreeSoftwareProjectManagementHOWTO.sgml -ps2pdf FreeSoftwareProjectManagementHOWTO.ps -mv FreeSoftwareProjectManagementHOWTO.ps ./tmp/FreeSoftwareProjectManagement-HOWTO.ps -mv FreeSoftwareProjectManagementHOWTO.pdf ./tmp/FreeSoftwareProjectManagement-HOWTO.pdf -sgmltools --backend=rtf FreeSoftwareProjectManagementHOWTO.sgml -mv FreeSoftwareProjectManagementHOWTO.rtf ./tmp/FreeSoftwareProjectManagement-HOWTO.rtf +#!/usr/bin/make -f +build: + sgmltools -v --backend=onehtml FreeSoftwareProjectManagementHOWTO.sgml + sgmltools -v --backend=html FreeSoftwareProjectManagementHOWTO.sgml + sgmltools -v --backend=txt FreeSoftwareProjectManagementHOWTO.sgml + sgmltools -v --backend=ps FreeSoftwareProjectManagementHOWTO.sgml + ps2pdf FreeSoftwareProjectManagementHOWTO.ps + sgmltools -v --backend=rtf FreeSoftwareProjectManagementHOWTO.sgml + +move: + mkdir -p ./tmp + mv -f FreeSoftwareProjectManagementHOWTO.html ./tmp/FreeSoftwareProjectManagement-HOWTO.html + mv -f FreeSoftwareProjectManagementHOWTO ./tmp/FreeSoftwareProjectManagement-HOWTO + mv -f FreeSoftwareProjectManagementHOWTO.txt ./tmp/FreeSoftwareProjectManagement-HOWTO.txt + mv -f FreeSoftwareProjectManagementHOWTO.ps ./tmp/FreeSoftwareProjectManagement-HOWTO.ps + mv -f FreeSoftwareProjectManagementHOWTO.pdf ./tmp/FreeSoftwareProjectManagement-HOWTO.pdf + mv -f FreeSoftwareProjectManagementHOWTO.rtf ./tmp/FreeSoftwareProjectManagement-HOWTO.rtf + cp -f FreeSoftwareProjectManagementHOWTO.sgml ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml + gzip -c ./tmp/FreeSoftwareProjectManagement-HOWTO.ps > ./tmp/FreeSoftwareProjectManagement-HOWTO.ps.gz + gzip -c ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml > ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml.gz + +install: build move + +clean: + rm -rf FreeSoftwareProjectManagementHOwTO + rm -f FreeSoftwareProjectManagementHOWTO.html FreeSoftwareProjectManagement-HOWTO.txt FreeSoftwareProjectManagement-HOWTO.ps FreeSoftwareProjectManagement-HOWTO.pdf FreeSoftwareProjectManagement-HOWTO.rtf + rm -rf ./tmp \ No newline at end of file