summaryrefslogtreecommitdiff
path: root/ctan2tds-config.pl
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2018-06-16 14:49:18 +0900
committerNorbert Preining <norbert@preining.info>2018-06-16 14:49:18 +0900
commit7531a43b4dbc1e69b59f41f7b4fc9b65cb18f105 (patch)
tree259f2ee065e41a808b91ea531f51ab6e28372d37 /ctan2tds-config.pl
parentadaabf093fe9a662e25c7fca1d4e18bf3a59e566 (diff)
update ctan2tds-config itms for DPS building
Diffstat (limited to 'ctan2tds-config.pl')
-rw-r--r--ctan2tds-config.pl17
1 files changed, 17 insertions, 0 deletions
diff --git a/ctan2tds-config.pl b/ctan2tds-config.pl
index e44b2993..6df412e3 100644
--- a/ctan2tds-config.pl
+++ b/ctan2tds-config.pl
@@ -15,3 +15,20 @@ $special{'pcarl'} = '&donormal';
$special{'mathstone'} = '&MAKEflatten';
$special{'spark-otf'} = '&MAKEflatten';
$special{'opacity-pro'} = '&donormal';
+$special{'eq-save'} = '&MAKEdps';
+$special{'fetchbibpes'} = '&MAKEdps';
+$special{'mkstmpdad'} = '&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();
+}
+