Skip to content

Commit b7e58ff

Browse files
revert changes to update_makefile
1 parent 463eee3 commit b7e58ff

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

build_support/catalog/update.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,14 @@ def update_makefile():
8888

8989
# Using rglob("*") to find files in all subdirectories
9090
slugs = []
91-
for ext in ["efg", "nfg", "tex", "png", "pdf"]:
92-
for resource_path in sorted(CATALOG_DIR.rglob(f"*.{ext}")):
93-
if resource_path.is_file():
94-
rel_path = resource_path.relative_to(CATALOG_DIR)
95-
slugs.append(str(rel_path))
91+
for resource_path in sorted(CATALOG_DIR.rglob("*.efg")):
92+
if resource_path.is_file():
93+
rel_path = resource_path.relative_to(CATALOG_DIR)
94+
slugs.append(str(rel_path))
95+
for resource_path in sorted(CATALOG_DIR.rglob("*.nfg")):
96+
if resource_path.is_file():
97+
rel_path = resource_path.relative_to(CATALOG_DIR)
98+
slugs.append(str(rel_path))
9699

97100
game_files = []
98101
for slug in slugs:

0 commit comments

Comments
 (0)