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
s Geerinckx-Rice 2017-08-02build: Make Guile-Git a hard requirement....Ludovic Courtès 2017-06-30build: Remove check for broken (srfi srfi-37)....Ludovic Courtès 2017-06-09guix: git: Add new module....Mathieu Othacehe 2017-05-05Revert "guix: git: Add new module."...Leo Famulari 2017-05-05guix: git: Add new module....Mathieu Othacehe 2017-05-04build: Use Gnulib's 'git-version-gen'....Ludovic Courtès 2017-03-20build: Install .go files to $libdir/guile/X.Y....Ludovic Courtès 2017-03-18build: Require Guile >= 2.0.9....Ludovic Courtès 2017-03-15build: Prefer Guile 2.2 over 2.0....Ludovic Courtès 2017-03-12build: GnuTLS is now a hard dependency....Ludovic Courtès 2017-02-07build: Warn about lack of substitutes for non-standard stores....Ludovic Courtès 2017-01-13etc: Support indentation of whole files....Ludovic Courtès 2017-01-12etc: Add 'indent-package.el' script....Ludovic Courtès 2016-12-31Add (guix ssh) module....Ludovic Courtès 2016-12-29Remove Emacs interface....Alex Kost 2016-12-20build: Bump version number....Ricardo Wurmus 2016-10-25build: 'guilemoduledir' honors $GUILE_EFFECTIVE_VERSION....Ludovic Courtès 2016-09-20build: Allow builds with Guile 2.2....Ludovic Courtès 2016-09-07Add Zsh completion file....Eric Le Bihan 2016-07-29Merge branch 'master' into core-updatesMark H Weaver 2016-07-29build: Bump version number....Ludovic Courtès 2016-07-20Merge branch 'master' into core-updatesLudovic Courtès 2016-07-19Add (guix zlib)....Ludovic Courtès 2016-06-23build: Remove unneeded conditionals for (guix build syscalls)....Manolis Ragkousis 2016-04-15build: Move environment '.in' scripts to 'build-aux' directory....Mathieu Lirzin 2016-03-24build: Bump version number....Ludovic Courtès 2016-01-12build: 'make check' errors out if file name limits would be hit....Ludovic Courtès 2016-01-05build: Bump version number....Ludovic Courtès 2015-12-09build: Always check for gzip/bzip2/xz....Ludovic Courtès 2015-10-20build: Set DOT_USER_PROGRAM for Emacs interface....Alex Kost 2015-10-09build: Fix libgcrypt detection on FHS systems....Ludovic Courtès 2015-10-06build: Automatically determine libgcrypt's file name....Ludovic Courtès 2015-09-25build: Bump version number....Ludovic Courtès 2015-08-30build: Produce 'guix-config' instead of using compile-time tricks....Mathieu Lirzin 2015-08-27build: Do not build (guix build syscalls) if 'mount' is missing from libc....Ludovic Courtès 2015-06-14doc: Move most 'HACKING' informations into the manual....Mathieu Lirzin 2015-06-03build: Bump version number....Ludovic Courtès 2015-06-01build: Build and install manual pages....Ludovic Courtès 2015-05-10build: Require Guile >= 2.0.7....Ludovic Courtès 2015-04-14build: Silence warnings about 'make' portability....Ludovic Courtès 2015-04-09Add Bash completion file....Ludovic Courtès 2015-04-08build: Enable silent rules by default....Ludovic Courtès 2015-03-19build: Detect lack of guile.m4 at autoconf time....Ludovic Courtès