]> projects.mako.cc - fspm_howto/blob - Makefile
moved the makefile and added german translation
[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         gzip -c ./tmp/FreeSoftwareProjectManagement-HOWTO.ps > ./tmp/FreeSoftwareProjectManagement-HOWTO.ps.gz
21         gzip -c ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml > ./tmp/FreeSoftwareProjectManagement-HOWTO.sgml.gz
22
23 install: build move
24
25 clean:
26         rm -rf FreeSoftwareProjectManagementHOWTO
27         rm -f FreeSoftwareProjectManagementHOWTO.html FreeSoftwareProjectManagementHOWTO.txt FreeSoftwareProjectManagementHOWTO.ps FreeSoftwareProjectManagementHOWTO.pdf FreeSoftwareProjectManagementHOWTO.rtf
28         rm -rf ./tmp
29         rm FreeSoftwareProjectManagementHOWTO.DE.html

Benjamin Mako Hill || Want to submit a patch?