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
/guix/commit/gnu/services.scm?id=76c321d8e85683091ecbcd3afe8c56fb7c45c00a'>services: cleanup: Expect file names to be UTF-8-encoded....Ludovic Courtès 2018-06-20services: boot: Reverse the order of boot expressions....Ludovic Courtès 2018-04-08discovery: Remove dependency on (guix ui)....Ludovic Courtès 2018-03-29gnu: Refactor boot-service-type and activation-service-type....Chris Marusich 2018-01-21services: Missing services are automatically instantiated....Ludovic Courtès 2017-12-17services: cleanup: Remove "/run/udev/watch.old" directory....Danny Milosavljevic 2017-11-08services: Add 'lookup-service-types'....Ludovic Courtès 2017-11-08services: 'fold-service-types' includes (gnu services)....Ludovic Courtès 2017-11-08services: 'fold-service-types' honors its seed....Ludovic Courtès 2017-10-22gexp: Add 'directory-union'....Ludovic Courtès 2017-10-22gexp: Add 'file-union'....Ludovic Courtès 2017-10-12services: cleanup: Remove Shadow lock files from /etc....Ludovic Courtès 2017-09-22services: network-manager: Add support for VPN plug-ins....Ludovic Courtès 2017-09-16services: Add 'fold-service-types'....Ludovic Courtès 2017-09-16services: Add a description and location for each service type....Ludovic Courtès 2017-07-11services: Make error message less scary....Ludovic Courtès