summaryrefslogtreecommitdiff
path: root/misc/texscythe/contrib/helpers/texmf-tetexish
blob: 96fe56ea3d7b8021e3d21167114c999b1210cb7b (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
38
39
40
41
#!/bin/sh

texscyther \
  --output-plist $TMP/$(basename $0) \
  --tlpdb $CWD/texlive.tlpdb \
  --skip-missing-archpkgs \
  --nodirs \
  --subset \
    --include \
      scheme-context \
      scheme-gust \
      scheme-tetex \
      scheme-xml \
      collection-bibtexextra \
      collection-latexextra \
      ctex \
    --exclude \
      scheme-context:doc \
      scheme-context:src \
      scheme-gust:doc \
      scheme-gust:src \
      scheme-tetex:doc \
      scheme-tetex:src \
      scheme-xml:doc \
      scheme-xml:src \
      collection-bibtexextra:doc \
      collection-bibtexextra:src \
      collection-latexextra:doc \
      collection-latexextra:src \
      ctex:doc \
      ctex:src

cat $TMP/$(basename $0) | \
  grep -e "texmf-dist/" -e "tlpkg/TeXLive/" | \
  grep -v "win32" | \
  grep -v "context/stubs/mswin/" | \
  grep -v "win32" | \
  grep -v "MinGW" | \
  sort -u \
  > $PACKLISTS/$(basename $0)-packlist