Move man* to man/ (was: Revert 70ac1c478 ("src.mk, All pages: Move man* to man/"))

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm thinking of adding some features to the build system that would need
having a clean man/ directory.  The main one is building several books
for other projects, one per language, where languages correspond to
every directory within man/ that doesn't match man*.  Currently, I'm
workarounding this by running the build system several times, for each
language dir, but it could be much simpler, I think.

For not having a regression in the number of characters one needs to
type to edit the manual pages, I thought of adding symlinks in the root
of the repository, so it would look like this:

	$ ls -l man*
	lrwxrwxrwx  1 alx alx    9 Mar 26 02:26 man1 -> man/man1/
	lrwxrwxrwx  1 alx alx    9 Mar 26 02:26 man2 -> man/man2/
	lrwxrwxrwx  1 alx alx   13 Mar 26 02:25 man2type -> man/man2type/
	lrwxrwxrwx  1 alx alx    9 Mar 26 02:26 man3 -> man/man3/
	lrwxrwxrwx  1 alx alx   14 Mar 26 02:26 man3const -> man/man3const/
	lrwxrwxrwx  1 alx alx   13 Mar 26 02:26 man3head -> man/man3head/
	lrwxrwxrwx  1 alx alx   13 Mar 26 02:26 man3type -> man/man3type/
	lrwxrwxrwx  1 alx alx    9 Mar 26 02:26 man4 -> man/man4/
	lrwxrwxrwx  1 alx alx    9 Mar 26 02:26 man5 -> man/man5/
	lrwxrwxrwx  1 alx alx    9 Mar 26 02:26 man6 -> man/man6/
	lrwxrwxrwx  1 alx alx    9 Mar 26 02:26 man7 -> man/man7/
	lrwxrwxrwx  1 alx alx    9 Mar 26 02:26 man8 -> man/man8/

	man:
	total 120
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man1
	drwxrwxr-x 2 alx alx 20480 Mar 26 02:24 man2
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man2type
	drwxrwxr-x 2 alx alx 57344 Mar 26 02:24 man3
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man3const
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man3head
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man3type
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man4
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man5
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man6
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man7
	drwxrwxr-x 2 alx alx  4096 Mar 26 02:24 man8

What do you think about it?

Cheers,
Alex


-- 
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux