Served at my homepage, thanks to the Crans [fr].
data The main folder where everything happens
|--- better-pbm-viewer A Bitmap and Pixmap image generator/editor/viewer
|--- pics Small photo gallery
|--- share Various documents for school/research/configuration
|--- treebor Sources for the Tree Borrows in-depth explanation
tar
, rsync
, fd
remote
, a personal script (wrapper aroundrsync
+ssh
) to push to the server
This web page is built by a recursive make
system. Each Makefile
defines
a module, with possible submodules, and the website is a hierarchy of all
the modules.
The website structure follows the directory structure:
data/**/foo/Makefile
defines the actions forfoo
data/**/foo/
is online atperso.crans.org/vanille/**/foo
The build system uses the .target
directory as a build directory:
data/**/foo/.target
is the build directory forfoo
data/**/foo/bar/.target
is the build directory for the submodulebar
data/**/foo/bar/.target
is symlinked todata/**/foo/.target/bar
, effectively moving data to the root by permuting the.target
folder
Finally data/.target
is resolved to www
which is then pushed to
the server.