]> projects.mako.cc - fspm_howto/blob - render_sgml
ca55b21c6213e4b1b6a57fe06786495435aae51b
[fspm_howto] / render_sgml
1 #!/usr/bin/make -f
2 build:
3         sgmltools -v --backend=onehtml FreeSoftwareProjectManagementHOWTO.sgml
4         sgmltools -v --backend=html FreeSoftwareProjectManagementHOWTO.sgml
5         sgmltools -v --backend=txt FreeSoftwareProjectManagementHOWTO.sgml
6         sgmltools -v --backend=ps FreeSoftwareProjectManagementHOWTO.sgml
7         ps2pdf FreeSoftwareProjectManagementHOWTO.ps
8         sgmltools -v --backend=rtf FreeSoftwareProjectManagementHOWTO.sgml
9
10 move:
11         mkdir -p ./tmp
12         mv -f FreeSoftwareProjectManagementHOWTO.html ./tmp/FreeSoftwareProjectManagement-HOWTO.html
13         mv -f FreeSoftwareProjectManagementHOWTO ./tmp/FreeSoftwareProjectManagement-HOWTO
14         mv -f FreeSoftwareProjectManagementHOWTO.txt ./tmp/FreeSoftwareProjectManagement-HOWTO.txt
15         mv -f FreeSoftwareProjectManagementHOWTO.ps ./tmp/FreeSoftwareProjectManagement-HOWTO.ps
16         mv -f FreeSoftwareProjectManagementHOWTO.pdf ./tmp/FreeSoftwareProjectManagement-HOWTO.pdf
17         mv -f FreeSoftwareProjectManagementHOWTO.rtf ./tmp/FreeSoftwareProjectManagement-HOWTO.rtf
18         cp -f FreeSoftwareProjectManagementHOWTO.sgml ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml
19         gzip -c ./tmp/FreeSoftwareProjectManagement-HOWTO.ps > ./tmp/FreeSoftwareProjectManagement-HOWTO.ps.gz
20         gzip -c ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml > ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml.gz
21
22 install: build move
23
24 clean:
25         rm -rf FreeSoftwareProjectManagementHOwTO
26         rm -f FreeSoftwareProjectManagementHOWTO.html FreeSoftwareProjectManagement-HOWTO.txt FreeSoftwareProjectManagement-HOWTO.ps FreeSoftwareProjectManagement-HOWTO.pdf FreeSoftwareProjectManagement-HOWTO.rtf
27         rm -rf ./tmp

Benjamin Mako Hill || Want to submit a patch?