forked from varia/varia.website
11 lines
243 B
Python
Executable File
11 lines
243 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import os.path
|
|
import subprocess
|
|
|
|
paths = [p for p in os.listdir(".") if os.path.isdir(p) and "Makefile" in os.listdir(p)]
|
|
|
|
for path in paths:
|
|
subprocess.run("cd {} && make html".format(path), shell=True)
|