macro for /usr/share/php
Elan Ruusamäe
glen at delfi.ee
Tue Jun 17 07:40:55 CEST 2008
On Tuesday 10 June 2008 23:13, Adam Gołębiowski wrote:
> On Tue, Jun 10, 2008 at 11:00:09PM +0300, Elan Ruusamäe wrote:
> > On Friday 23 May 2008 12:01:11 Elan Ruusamäe wrote:
> > > anyone can suggest macro name for /usr/share/php?
> > >
> > > %php_data_dir
> > > %php_apps_dir
> > > %php....
> >
> > still nobody?
>
> I'd use %php_data_dir, as it contains more than just (web)apps -
> libraries, frameworks.
added in 1.461.
and what about this one?
# _phpdocdir / php_docdir / phpdoc_dir ?
%define _phpdocdir %{_docdir}/phpdoc
if we look at java, then there's %_javadocdir from rpm itself with a comment:
# Import packaging conventions from jpackage.org (prefixed with _
# to avoid name collisions).
#
%_javadir %{_datadir}/java
%_javadocdir %{_datadir}/javadoc
some don't like the _underscore "madness", do we have any policy of the
macros? from existing ones i can see that with two underscores are path to
programs (or initially were), the rest do not seem to have any specific
pattern.
--
glen
More information about the pld-devel-en
mailing list