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
53efbb16'>services: shepherd: Install O_CLOEXEC variant of 'call-with-input-file' & co....Ludovic Courtès 2022-09-11services: shepherd: Open /dev/null as O_CLOEXEC....Ludovic Courtès 2022-04-10services: shepherd: Do not unload transient services....Ludovic Courtès 2022-04-07services: shepherd: Default to version 0.9....Ludovic Courtès 2021-11-30services: Accept <inferior-package>s in lieu of <package>s....Tobias Geerinckx-Rice 2021-03-03services: shepherd: Make 'assert-valid-graph' public....Andrew Tropin 2021-02-25services: shepherd: Make /run/booted-system a symlink to the store item....Ludovic Courtès 2021-01-30services: shepherd: Allow custom 'shepherd' package....Maxime Devos 2021-01-13services: shepherd: 'shepherd-service-type' requires documentation....Ludovic Courtès 2020-11-18services: shepherd: Map all the invalid store characters to dash....Ludovic Courtès 2020-06-14services: Add 'hurd-vm service-type'....Jan (janneke) Nieuwenhuizen