From 7531a43b4dbc1e69b59f41f7b4fc9b65cb18f105 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 16 Jun 2018 14:49:18 +0900 Subject: update ctan2tds-config itms for DPS building --- ctan2tds-config.pl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ctan2tds-config.pl') 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(); +} + -- cgit v1.2.3