X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=man%2FHOWTO;h=46f93ab8e684e8c781a86a07785414c71fe78817;hb=b77d3e047f0d1a17b85d996942d33cec678ff54d;hp=807530fb62fbb3d00cc67100e5bafba0550633d4;hpb=fec652f50080592195f212a2cee5162e1f36ff37;p=d2df-sdl.git diff --git a/man/HOWTO b/man/HOWTO index 807530f..46f93ab 100644 --- a/man/HOWTO +++ b/man/HOWTO @@ -1,4 +1,24 @@ If you want to convert this txt to man, you need a k8ttman (see https://repo.or.cz/k8ttman.git). Build them, copy txt file to program directory and run: - ./ttman d2df.txt d2df.1 + ./ttman d2df.1.txt d2df.1 + ./ttman d2df.2.txt d2df.2 + ./ttman d2df.3.txt d2df.3 + +For the manual to be detectable by man/man-db, it must be packed into a .gz archive. We do this with the command: + + gzip -c d2df.1 > d2df.1.gz + gzip -c d2df.2 > d2df.2.gz + gzip -c d2df.3 > d2df.3.gz + +Then put them in directories based on the number in the name: + + d2df.1 = /usr/share/man/man1 + d2df.2 = /usr/share/man/man2 + d2df.3 = /usr/share/man/man3 + +For russian version, you must use txt from directory "ru" to convert/compression and put them to: + + d2df.1 = /usr/share/man/ru/man1 + d2df.2 = /usr/share/man/ru/man2 + d2df.3 = /usr/share/man/ru/man3