| This is for people who plan to package Yadex. |
So you want to package Yadex ? Here is a list of things you should probably know :
/usr instead of
/usr/local, re-run configure with the right
--prefix option, type make clean && make
all. That's all there is to it.
You shouldn't have to make any manual changes ; most
references to the prefix in the documentation and elsewhere use the
files generated by configure (you'll have to make
clean, however). One possibly undesirable consequence of this
is that the doc from your package and the doc that one would get
after installing from the source will not be identical. I suppose it
doesn't matter.
/usr and /usr/local, Yadex uses
only the prefix directory. The goal was to reduce the unwanted
interactions between Yadexes installed with different prefixes on the
same system. Since packagers typically use /usr, users
should be able to have on their system both the original and the
packaged version of Yadex. (Incidentally, that's not true for
/etc/yadex/1.7.0/yadex.cfg but the FHS is to
blame).
bin/ and man/, but that's what they're
for).
If you have problems with that scheme, let me know.