summaryrefslogtreecommitdiff
path: root/ctan2tds-config.pl
blob: b734582234618c2a871d8eca60735b79a382222c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

$special{'acmtrans'}    = '&MAKEflatten';
$special{'adobecaslon'} = '&donormal';
$special{'comicsans'}   = '&MAKEflatten';
$special{'chemsym'}     = '&MAKEflatten';
$special{'imprintmtshadow'} = '&donormal';
$special{'lsabon'}      = '&donormal';
$special{'ptmsc'}       = '&donormal';
$special{'thsmc'}       = '&donormal';
$special{'verdana'}     = '&donormal';
$special{'lucidabr'}    = '&donormal';
$special{'lucold'}      = '&MAKEflatten';
$special{'futurans'}    = '&donormal';
$special{'pcarl'}       = '&donormal';
$special{'mathstone'}   = '&MAKEflatten';
$special{'spark-otf'}   = '&MAKEflatten';
$special{'opacity-pro'} = '&donormal';
$special{'eq-save'}     = '&MAKEdps';
$special{'fetchbibpes'} = '&MAKEdps';
$special{'mkstmpdad'}   = '&MAKEdps';
$special{'dps'}         = '&MAKEdps';
$special{'datepicker-pro'} = '&MAKEdps';


sub MAKEdps {
  print "\t SPECIAL $package";

  # sort of flatten, but not completely (keep the 'examples' subdir)
  &xchdir($packagedir);
  &SYSTEM('if [ -d doc ] ; then mv doc/* . && rmdir doc ; fi');
  &SYSTEM('if [ -d docs ] ; then mv docs/* . && rmdir docs ; fi');

  # now do the normal thing
  &xchdir($RAW_DIR);
  &donormal();
}