ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: ruby и ri
@ 2004-09-04 16:47 Alexey I. Froloff
  0 siblings, 0 replies; only message in thread
From: Alexey I. Froloff @ 2004-09-04 16:47 UTC (permalink / raw)
  To: ALT Devel discussion list; +Cc: ruby

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

Собирал я тут log4r и задумался...

Почему у нас отсутствуют мекросы для ri и rdoc?  И почему модули
не генерят документацию для ri?  Например так (макросы
экранированы для использования в ruby.spec):

/etc/rpm/macros.d/ruby:
...
%%ruby_ri_systemdir	%_datadir/ri/%subver
...
%%rdoc	DESTDIR="%%buildroot" rdoc --ri-system
...

ruby-*.spec:
...
%install
%make_install DESTDIR="%buildroot" install
%rdoc .
...
%files
...
%doc %ruby_ri_systemdir/*
...


Второй вопрос - чем отличатся rdoc --ri-system от rdoc --ri-site
кроме того, что --ri-system утитывает $DESTDIR?  Может оставить
--ri-system для самого ruby, а во всех сторонних модулях
использовать --ri-site (попутно научив его понимать $DESTDIR)?

Кстати, rdoc создаёт документацию для класса (в виде "пустого"
Klass/cdesc-Klass.yaml) даже если в описании класса есть
директива :nodoc:...

-- 
Regards,
Sir Raorn.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-04 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-04 16:47 [devel] Q: ruby и ri Alexey I. Froloff

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git