From: Benj. Mako Hill Date: Sat, 4 Jun 2005 00:09:06 +0000 (+0000) Subject: changed render_sgml to be a makefile and added a bunch of X-Git-Url: https://projects.mako.cc/source/fspm_howto/commitdiff_plain/44816d8daaae41c23c921e1e1ca26d1d55522a24?ds=sidebyside changed render_sgml to be a makefile and added a bunch of Author: mako Date: 2001/06/19 10:32:23 changed render_sgml to be a makefile and added a bunch of functionality to the script (which now works and has been tested!) --- diff --git a/render_sgml b/render_sgml index 7ce4f1d..3753dfd 100755 --- a/render_sgml +++ b/render_sgml @@ -1,14 +1,23 @@ -#!/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 FreeSoftwareProjectManagementHOWTO.html ./tmp/FreeSoftwareProjectManagement-HOWTO.html + mv FreeSoftwareProjectManagementHOWTO ./tmp/FreeSoftwareProjectManagement-HOWTO + mv FreeSoftwareProjectManagementHOWTO.txt ./tmp/FreeSoftwareProjectManagement-HOWTO.txt + mv FreeSoftwareProjectManagementHOWTO.ps ./tmp/FreeSoftwareProjectManagement-HOWTO.ps + mv FreeSoftwareProjectManagementHOWTO.pdf ./tmp/FreeSoftwareProjectManagement-HOWTO.pdf + mv FreeSoftwareProjectManagementHOWTO.rtf ./tmp/FreeSoftwareProjectManagement-HOWTO.rtf + +install: build move + +clean: + rm -rf FreeSoftwareProjectManagementHOwTO + rm -f FreeSoftwareProjectManagementHOWTO.html FreeSoftwareProjectManagement-HOWTO.txt FreeSoftwareProjectManagement-HOWTO.ps FreeSoftwareProjectManagement-HOWTO.pdf FreeSoftwareProjectManagement-HOWTO.rtf