aboutsummaryrefslogtreecommitdiff
#!/bin/sh
# Create the build system.

set -e -x

# Generate stubs for translations.
langs=`find po/doc -type f -name 'guix-manual*.po' \
        | sed -e 's,.*/guix-manual\.,,;s,\.po$,,'`
for lang in ${langs}; do
    if [ ! -e "doc/guix.${lang}.texi" ]; then
	echo "@setfilename guix.${lang}.info" > "doc/guix.${lang}.texi"
	echo "@include version-${lang}.texi" >> "doc/guix.${lang}.texi"
	# Ensure .po file is newer.
	touch "po/doc/guix-manual.${lang}.po"
    fi
done
langs=`find po/doc -type f -name 'guix-cookbook*.po' \
        | sed -e 's,.*/guix-cookbook\.,,;s,\.po$,,'`
for lang in ${langs}; do
    if [ ! -e "doc/guix-cookbook.${lang}.texi" ]; then
	echo "@setfilename guix-cookbook.${lang}.info" > "doc/guix-cookbook.${lang}.texi"
	# Ensure .po file is newer.
	touch "po/doc/guix-cookbook.${lang}.po"
    fi
done

autoreconf -vfi

# Replace Automake's build-aux/mdate-sh with build-aux/mdate-from-git, our
# own, reproducible version.
chmod +w build-aux/mdate-sh
rm -f build-aux/mdate-sh
ln -s mdate-from-git.scm build-aux/mdate-sh
/td> 2018-09-07vm: Make UUID computation really deterministic....Ludovic Courtès 2018-05-28system: Remove uses of the 'title' field of <file-system>....Ludovic Courtès 2018-05-19tests: Adjust to new "unbound variable" messages....Ludovic Courtès 2018-04-30guix system: search: Display default Shepherd service names....Ludovic Courtès 2018-03-24tests: Add tests for "guix system disk-image" et al....Chris Marusich 2017-12-06gnu, doc, tests: Use ‘bootloader-configuration’ everywhere....Tobias Geerinckx-Rice 2017-12-04tests: Look for multi-digit column numbers in unbound variable test....Eric Bavier 2017-11-10tests: Adjust to unbound-variable exception printer....Ludovic Courtès 2017-11-08gnu: Improve error reporting of the use-.*modules macros....Ludovic Courtès 2017-10-10ui: Improve reporting of missing closing parentheses....Ludovic Courtès 2017-09-16guix system: Add 'search' command....Ludovic Courtès 2017-03-15tests: Expect less accurate location info in 2.2.0....Ludovic Courtès 2016-07-20tests: Adjust to Shepherd error message change....Ludovic Courtès 2016-01-29services: Rename 'dmd' services to 'shepherd'....Alex Kost 2016-01-29Rename (gnu services dmd) to (gnu services shepherd)....Alex Kost 2015-12-14gexp: 'local-file' resolves relative file names....Ludovic Courtès 2015-11-24services: dmd: Error out upon unmet dmd requirements....Ludovic Courtès 2015-10-10guix system: Add '--derivation'....Ludovic Courtès