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
doc/htmlxref.cnf?id=ec7a75034421654d2ece2ba20033b44d345547f0'>doc: Remove obsolete comment from htmlxref.cnf....Maxim Cournoyer 2022-04-08doc: Fix cookbook URLs in htmlxref.cnf....Ludovic Courtès 2021-10-04doc: Update htmlxref.cnf....Sarah Morgensen 2021-04-24doc: Fix cross-reference URL to translated manual....Julien Lepiller d in favor of "target"....Andy Wingo 2017-05-16bootloader: Add extlinux support....Mathieu Othacehe 2017-05-04tests: Use 'fold-module-public-variables' for discovery....Ludovic Courtès 2017-05-03Add (guix discovery)....Ludovic Courtès 2017-04-01tests: Introduce 'simple-operating-system' and use it....Ludovic Courtès 2016-07-12services: <shepherd-service> no longer has an 'imported-modules' field....Ludovic Courtès 2016-06-27tests: 'marionette-service-type' nows takes a <marionette-configuration>....Ludovic Courtès 2016-06-20tests: Add a mechanism to describe and discover system tests....Ludovic Courtès 2016-06-20tests: Add system installation test....Ludovic Courtès 2016-06-20tests: Fix list of exports in (gnu tests)....Ludovic Courtès 2016-05-04Add (gnu tests) and (gnu build marionette)....Ludovic Courtès