]> projects.mako.cc - fspm_howto/blob - Makefile
2d005f59441fb2d8ca7bf70c367aa692c6af0503
[fspm_howto] / Makefile
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         rst2html FreeSoftwareProjectManagementHOWTO.DE.rst FreeSoftwareProjectManagementHOWTO.DE.html
10
11 move:
12         mkdir -p ./tmp
13         mv -f FreeSoftwareProjectManagementHOWTO.html ./tmp/FreeSoftwareProjectManagement-HOWTO.html
14         mv -f FreeSoftwareProjectManagementHOWTO ./tmp/FreeSoftwareProjectManagement-HOWTO
15         mv -f FreeSoftwareProjectManagementHOWTO.txt ./tmp/FreeSoftwareProjectManagement-HOWTO.txt
16         mv -f FreeSoftwareProjectManagementHOWTO.ps ./tmp/FreeSoftwareProjectManagement-HOWTO.ps
17         mv -f FreeSoftwareProjectManagementHOWTO.pdf ./tmp/FreeSoftwareProjectManagement-HOWTO.pdf
18         mv -f FreeSoftwareProjectManagementHOWTO.rtf ./tmp/FreeSoftwareProjectManagement-HOWTO.rtf
19         cp -f FreeSoftwareProjectManagementHOWTO.sgml ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml
20         cp -f FreeSoftwareProjectManagementHOWTO.DE.rst ./tmp/FreeSoftwareProjectManagement-HOWTO.DE.rst
21         mv -f FreeSoftwareProjectManagementHOWTO.DE.html ./tmp/FreeSoftwareProjectManagement-HOWTO.DE.html
22         cp -d FreeSoftwareProjectManagement-HOWTO.ES.odt FreeSoftwareProjectManagement-HOWTO.ES.pdf GestionDeProyectosFree.odt GestionDeProyectosFree.pdf ./tmp
23         gzip -c ./tmp/FreeSoftwareProjectManagement-HOWTO.ps > ./tmp/FreeSoftwareProjectManagement-HOWTO.ps.gz
24         gzip -c ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml > ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml.gz
25
26 install: build move
27
28 clean:
29         rm -rf FreeSoftwareProjectManagementHOWTO
30         rm -f FreeSoftwareProjectManagementHOWTO.html FreeSoftwareProjectManagementHOWTO.txt FreeSoftwareProjectManagementHOWTO.ps FreeSoftwareProjectManagementHOWTO.pdf FreeSoftwareProjectManagementHOWTO.rtf
31         rm -rf ./tmp
32         rm FreeSoftwareProjectManagementHOWTO.DE.html

Benjamin Mako Hill || Want to submit a patch?