#!/bin/sh
set -e

# Generate /etc/xpdfrc from /etc/xpdf/*
# This allows the xpdf-* language add-on packages
# to supply configuration file snippets.

echo \# This file was automatically generated by /usr/sbin/update-xpdfrc. > /etc/xpdfrc
echo \# DO NOT EDIT THIS FILE DIRECTLY. >> /etc/xpdfrc
echo \# Instead, edit the files in /etc/xpdf/ then run >> /etc/xpdfrc
echo \# /usr/sbin/update-xpdfrc to regenerate this file. >> /etc/xpdfrc
echo >> /etc/xpdfrc
cat /etc/xpdf/xpdf* >> /etc/xpdfrc

