Fix program termination sequence and a lot of memory leaks during it
[d2df-sdl.git] / man / HOWTO
blob46f93ab8e684e8c781a86a07785414c71fe78817
1 If you want to convert this txt to man, you need a k8ttman (see https://repo.or.cz/k8ttman.git).
2 Build them, copy txt file to program directory and run:
4   ./ttman d2df.1.txt d2df.1
5   ./ttman d2df.2.txt d2df.2
6   ./ttman d2df.3.txt d2df.3
8 For the manual to be detectable by man/man-db, it must be packed into a .gz archive. We do this with the command:
10   gzip -c d2df.1 > d2df.1.gz
11   gzip -c d2df.2 > d2df.2.gz
12   gzip -c d2df.3 > d2df.3.gz
14 Then put them in directories based on the number in the name:
16   d2df.1 = /usr/share/man/man1
17   d2df.2 = /usr/share/man/man2
18   d2df.3 = /usr/share/man/man3
20 For russian version, you must use txt from directory "ru" to convert/compression and put them to:
22   d2df.1 = /usr/share/man/ru/man1
23   d2df.2 = /usr/share/man/ru/man2
24   d2df.3 = /usr/share/man/ru/man3