LinuxUnixLayout: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Replaced origo.ethz.ch by eiffel.com in SVN URL |
||
| (15 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category:Build Scripts]] | |||
It would be nice if the installation layout under Unix/Linux wold be more conform to FHS. This would make it easier to create packages (deb, rpm, ...) | It would be nice if the installation layout under Unix/Linux wold be more conform to FHS. This would make it easier to create packages (deb, rpm, ...) | ||
This is now possible by following the steps, described under | |||
https://svn.eiffel.com/eiffelstudio/trunk/Src/Delivery/scripts/unix/README.unix | |||
== File layout == | == File layout == | ||
| Line 6: | Line 11: | ||
* ec | * ec | ||
* build | * build | ||
* finish_freezing | |||
* vision2_tour | |||
=== /usr/lib/eiffelstudio === | === /usr/lib/eiffelstudio === | ||
* library | |||
* part of studio/spec | |||
=== /usr/share/eiffelstudio === | === /usr/share/eiffelstudio === | ||
* build (except spec) | * build (except spec) | ||
| Line 12: | Line 23: | ||
* eifinit | * eifinit | ||
* examples | * examples | ||
* | * studio (except some stuff) | ||
* vision2_tour (except spec) | |||
* precomp | |||
=== /usr/include/eiffelstudio === | |||
* studio/spec/XX/include | |||
=== Unneeded === | |||
* wizards | |||
* install | |||
=== Misc === | |||
* free_add_ons move into examples | |||
== Environment variables == | == Environment variables == | ||
Latest revision as of 21:15, 4 June 2012
It would be nice if the installation layout under Unix/Linux wold be more conform to FHS. This would make it easier to create packages (deb, rpm, ...)
This is now possible by following the steps, described under
https://svn.eiffel.com/eiffelstudio/trunk/Src/Delivery/scripts/unix/README.unix
File layout
/usr/bin
- estudio
- ec
- build
- finish_freezing
- vision2_tour
/usr/lib/eiffelstudio
- library
- part of studio/spec
- build (except spec)
- docs
- eifinit
- examples
- studio (except some stuff)
- vision2_tour (except spec)
- precomp
/usr/include/eiffelstudio
- studio/spec/XX/include
Unneeded
- wizards
- install
Misc
- free_add_ons move into examples
Environment variables
At the moment eiffelstudio needs some environment variables set up to work correctly:
- ISE_EIFFEL
- ISE_PLATFORM
- PATH
With a default layout it would be possible to hardcode default values into the compiled binary, which would be used as fallback if the environment variable is not defined.
Resources
- Filesystem Hierarchy Standard http://www.pathname.com/fhs/
- Debian file system hierarchy http://www.debian.org/doc/debian-policy/ch-opersys.html