forked from varia/varia.website
many many many Varia's websites, work in progress: https://many.vvvvvvaria.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
771 B
18 lines
771 B
4 years ago
|
#!/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:
|
||
|
print("-------------------------------------------------------------------")
|
||
|
print("-------------------------------------------------------------------")
|
||
|
print("-------------------------------------------------------------------")
|
||
|
print("Building in {0}".format(path))
|
||
|
subprocess.run("cd {} && make html".format(path), shell=True)
|
||
|
print("-------------------------------------------------------------------")
|
||
|
print("-------------------------------------------------------------------")
|
||
|
print("-------------------------------------------------------------------")
|