#!/bin/sh

extra_modules="
  `ls extmap/*.map 2> /dev/null`
"

lw35urw="lw35urw.map"
# lw35urw="lw35urwa.map"

modules="
  cmr.map cid.map psbase14.map $lw35urw
  $extra_modules
"

# Create fonts.map
cat >fonts.map <<eof
% fonts.map: maintained by the script updmap in \$TEXMFMAIN/dvipdfm/config.
%   The preferred way to add things to this file is to put the extra lines
%   into a separate file and add that filename to the updmap script. Then,
%   run the updmap script to recreate this file.
eof

cat $modules   | grep -v '^%' | grep . | sort | uniq >> fonts.map
