diff options
author | Norbert Preining <preining@logic.at> | 2007-11-17 20:37:57 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-17 20:37:57 +0000 |
commit | 3adcf66c98a539040639723dccbc339f6823a325 (patch) | |
tree | 124ea878e04e43849636f559eee2e8f119e51c3d /Master | |
parent | 68b7280dca248f544d16162eb2047808887a3f87 (diff) |
make antt MAKEcopy, and new MAKEflatten implementation
git-svn-id: svn://tug.org/texlive/trunk@5481 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/tlpkg/bin/ctan2tds | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index cf34ccf86e5..07861799958 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -57,7 +57,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'amsldoc-vn', "&MAKEflatten", 'amsrefs', "&MAKEamslatex", 'antomega', "&MAKEflatten", - 'antt', "&MAKEflatten", + 'antt', "&MAKEcopy", 'apacite', "&MAKEflatten", 'arabi', "&MAKEarabi", 'arabtex', "&MAKEarabtex", @@ -1696,11 +1696,13 @@ sub MAKEflatten { # so far we've only seen README's at one level. &SYSTEM('for d in *; do test -r $d/README && mv $d/README README.$d; done'); - -d <*/*/*/*/*/.> && &SYSTEM("$MV -f */*/*/*/* ."); - -d <*/*/*/*/.> && &SYSTEM("$MV -f */*/*/* ."); - -d <*/*/*/.> && &SYSTEM("$MV -f */*/* ."); - -d <*/*/.> && &SYSTEM("$MV -f */*/* ."); - -d <*/.> && &SYSTEM("$MV -f */* ."); + &SYSTEM("find . -mindepth 2 -not -type d -exec mv '\{\}' . \\;"); + #-d <*/*/*/*/*/*/.> && &SYSTEM("$MV -f */*/*/*/*/* ."); + #-d <*/*/*/*/*/.> && &SYSTEM("$MV -f */*/*/*/* ."); + #-d <*/*/*/*/.> && &SYSTEM("$MV -f */*/*/* ."); + #-d <*/*/*/.> && &SYSTEM("$MV -f */*/* ."); + #-d <*/*/.> && &SYSTEM("$MV -f */*/* ."); + #-d <*/.> && &SYSTEM("$MV -f */* ."); &SYSTEM("find -type d -print | xargs rmdir 2>/dev/null"); &SYSTEM("find -type f -print >/tmp/find"); &buildfilelist; |