# Folder usr/libexec/<MULTI-ARCH TRIPLET>/texmacs/lib/ is meant to receive
# third-party shared libraries.
texmacs-bin: package-contains-empty-directory [usr/libexec/*/texmacs/lib/]

# guile(1) caches Guile Objects (*.go) in a lazy way.
texmacs-bin: repeated-path-segment * [usr/lib/*/guile/*/site-ccache/texmacs/progs/*]

# The language used in texgraph-menus.scm is French.
texmacs-bin: spelling-error-in-binary * * [usr/lib/*/guile/*/site-ccache/texmacs/plugins/texgraph/progs/texgraph-menus.go]

# The language used in math-adjust-fr.scm is French.
texmacs-bin: spelling-error-in-binary * * [usr/lib/*/guile/*/site-ccache/texmacs/progs/math/math-adjust-fr.go]

# Guile Objects
texmacs-bin: elf-warning * [usr/lib/*/guile/*/site-ccache/texmacs/plugins/*/progs/*.go]
texmacs-bin: elf-warning * [usr/lib/*/guile/*/site-ccache/texmacs/progs/*/*.go]
