void
read_relocation_dir (string dirname)
{
- DIR *dir = opendir (dirname.c_str ());
-
- while (struct dirent *ent = readdir (dir))
- {
- File_name name (ent->d_name);
- if (name.ext_ == "reloc")
- {
- read_relocation_file (dirname + "/" + name.to_string ());
- }
- }
+ if (DIR *dir = opendir (dirname.c_str ()))
+ while (struct dirent *ent = readdir (dir))
+ {
+ File_name name (ent->d_name);
+ if (name.ext_ == "reloc")
+ read_relocation_file (dirname + "/" + name.to_string ());
+ }
}
'$srcdir/buildscripts/gen-emmentaler-scripts.py',
'$PYTHON $srcdir/buildscripts/gen-emmentaler-scripts.py --dir=${TARGET.dir}')
+env.Command ('emmentaler-13.pe',
+ '$srcdir/buildscripts/gen-emmentaler-scripts.py',
+ '$PYTHON $srcdir/buildscripts/gen-emmentaler-scripts.py --dir=${TARGET.dir}')
+
+env.Command ('emmentaler-14.pe',
+ '$srcdir/buildscripts/gen-emmentaler-scripts.py',
+ '$PYTHON $srcdir/buildscripts/gen-emmentaler-scripts.py --dir=${TARGET.dir}')
+
+env.Command ('emmentaler-16.pe',
+ '$srcdir/buildscripts/gen-emmentaler-scripts.py',
+ '$PYTHON $srcdir/buildscripts/gen-emmentaler-scripts.py --dir=${TARGET.dir}')
+
+env.Command ('emmentaler-18.pe',
+ '$srcdir/buildscripts/gen-emmentaler-scripts.py',
+ '$PYTHON $srcdir/buildscripts/gen-emmentaler-scripts.py --dir=${TARGET.dir}')
+
+env.Command ('emmentaler-20.pe',
+ '$srcdir/buildscripts/gen-emmentaler-scripts.py',
+ '$PYTHON $srcdir/buildscripts/gen-emmentaler-scripts.py --dir=${TARGET.dir}')
+
+env.Command ('emmentaler-23.pe',
+ '$srcdir/buildscripts/gen-emmentaler-scripts.py',
+ '$PYTHON $srcdir/buildscripts/gen-emmentaler-scripts.py --dir=${TARGET.dir}')
+
+env.Command ('emmentaler-26.pe',
+ '$srcdir/buildscripts/gen-emmentaler-scripts.py',
+ '$PYTHON $srcdir/buildscripts/gen-emmentaler-scripts.py --dir=${TARGET.dir}')
+
map (lambda x: env.Depends (x + '.pfa', x + '.enc'), feta)
env.Depends ('aybabtu.otf', 'aybabtu.otf-gtable')
# Hmm?
-env.Depends ('aybabtu.pfa', 'aybabtu.subfonts')
-env.Depends ('aybabtu.pfa', 'aybabtu.fontname')
-env.Depends ('aybabtu.pfa', 'aybabtu.otf-table')
-env.Depends ('aybabtu.pfa', 'aybabtu.otf-gtable')
+#env.Depends ('aybabtu.pfa', 'aybabtu.subfonts')
+#env.Depends ('aybabtu.pfa', 'aybabtu.fontname')
+#env.Depends ('aybabtu.pfa', 'aybabtu.otf-table')
+#env.Depends ('aybabtu.pfa', 'aybabtu.otf-gtable')
## FIXME
build_package_datadir=$ugh_ugh_autoconf250_builddir/out$CONFIGSUFFIX/share/$package
+ DATADIR=`echo ${datadir} | sed "s!\\\${datarootdir}!${prefix}/share!"`
DATADIR=`echo ${datadir} | sed "s!\\\${prefix}!$presome!"`
BUILD_PACKAGE_DATADIR=`echo ${build_package_datadir} | sed "s!\\\${prefix}!$presome!"`
AC_SUBST(datadir)
+ AC_SUBST(datarootdir)
AC_SUBST(build_package_datadir)
AC_DEFINE_UNQUOTED(DATADIR, ["${DATADIR}"])
AC_DEFINE_UNQUOTED(BUILD_PACKAGE_DATADIR, ["${BUILD_PACKAGE_DATADIR}"])