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

ocaml-source sources location



I really don't remember if we have talked about the location of ocaml
sources distributed in the ocaml-source package.

Currently that sources are put in /usr/lib/ocaml/source, IMO is better
to put them in /usr/src/ocaml.

I've had a rapid look at the FHS, quoting from it:

  4.4  /usr/lib : Libraries for programming and packages

    /usr/lib includes object files, libraries, and internal binaries
    that are not intended to be executed directly by users or shell
    scripts.

  4.8  /usr/src : Source code

    Any non-local source code should be placed in this subdirectory.

Again, it seems to me that /usr/src is a better place.

Sven, if you agree with this idea, just apply this tiny patch to the
debian/rules:

   --- ocaml-3.04.orig/debian/rules  Wed Apr  3 16:08:09 2002
   +++ ocaml-3.04/debian/rules Wed Apr  3 16:09:11 2002
   @@ -117,7 +117,7 @@
     # And finally the ocaml-source package.
     for i in `cat debian/ocaml-source.files`; do      \
       install -m 644 -D $$i         \
   -     debian/ocaml-source/usr/lib/ocaml/source/$$i; \
   +     debian/ocaml-source/usr/src/ocaml/$$i;  \
     done
    
    # Build architecture-independent files here.

and add a file debian/ocaml-source.dirs containing:

  usr/src/ocaml

Cheers.

-- 
Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
"I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!" -- G.Romney

Attachment: pgp7SvSjdgHwc.pgp
Description: PGP signature


Reply to: