निरंजन
I am having the following directory-structure:
```
├── build.lua
└── CharisSIL-Regular.ttf
```
With the following `build.lua`:
```lua
module = "bar"
tdslocations = {
"fonts/truetype/" .. module .. "/" .. "*.ttf"
}
sourcefiles = { "*.ttf" }
installfiles = sourcefiles
```
the font gets installed at the correct location, but my intended directory structure is this:
```
├── build.lua
└── support
└── CharisSIL-Regular.ttf
```
I tried the following `build.lua` without success:
```lua
module = "bar"
tdslocations = {
"fonts/truetype/" .. module .. "/" .. "*.ttf"
}
sourcefiles = { "support/*.ttf" }
installfiles = sourcefiles
```
What's wrong here? I don't want to clutter my working directory with files other than dtx, ins and lua, but I want this font to be installed.
Top Answer
निरंजन
[The answer](https://tex.stackexchange.com/a/733221) on StackExchange by user @cfr solves the issue. Here is a minimal `build.lua` that works.
```
module = "bar"
vendor = "public"
tdslocations = {
"fonts/truetype/" .. vendor .. "/" .. module .. "/"
.. "*.ttf",
}
sourcefiles = { "support/*.ttf" }
installfiles = { "*.ttf" }
```