Make archive.py build the XEPs

This commit is contained in:
Jonas Wielicki 2017-11-29 12:45:29 +01:00
parent 598732ec46
commit 373a95c214
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env python3
import pathlib
import shutil
import subprocess
import sys
import xml.etree.ElementTree as etree
@ -71,6 +72,8 @@ def main():
print("XEP-{:04d}:".format(xep), old_version, "->", new_version)
subprocess.check_call(["make", "build/xep-{:04d}.html".format(xep)])
shutil.copy(str(curr_file), str(attic_file))
changed = True