#!/bin/bash
# Script to facilitate building texinfo binaries for CRAN in a chroot
# Matching CRAN sources must be in /etc/apt/sources.list of the chroot
apt-get update
apt-get build-dep texinfo
apt-get source texinfo
cd texinfo-*
dpkg-buildpackage -B
cd ..