aboutsummaryrefslogtreecommitdiff

de Paul records

Software freedom empowers sharing. Let's dedicate our libre software projects to saints known for fostering sharing!

This Autoconf macro pakage is dedicated to St. Lawrence, a deacon martyred in ancient Rome. Emperor Valerian — after having the pope executed — demanded that Lawrence hands over all Church's treasures. Lawrence asked for 3 days to gather all valueable items but instead used that time to give everything to the poor. He's said to have told the emperor "These are the treasures of the Church." while pointing at the poor roman folk.

What's here?

Currently, there's just one macro, AX_ADD_GUILE_PRE_INST_ENV(). It causes a pre-inst-env script to be written at user-chosen path (relative to build dir) at configure time. The script helps amend the GUILE_LOAD_PATH, GUILE_LOAD_COMPILED_PATH and PATH environment variables with useful paths — by default src/guile, src/guile and srcipts, respectively, all relative to build directory.

The script can be invoked as

./pre-inst-env <command> [arguments]...

to run the specified command with the desired environment or without arguments

./pre-inst-env

to spawn a shell with these environment variables defined.

Look at de Paul records for an example of how this can be integrated into a project.

Building & installation

This software has a Guix package definition in Wojtek's personal channel. That can serve you as a point of reference.

Copying

The source code of this package is available under CC0 v1.0. The repository is kept compliant with the REUSE specification, version 3.0.