Package list xapp / debian/2.0.4-2 makedoc
debian/2.0.4-2

Tree @debian/2.0.4-2 (Download .tar.gz)

makedoc @debian/2.0.4-2raw · history · blame

#!/usr/bin/python3

# This script is used to update the docs in docs/reference
# which are served at http://developer.linuxmint.com/xapps/reference/index.html.

import os
import sys

SRC="debian/tmp/usr/share/gtk-doc/html/libxapp/"

if not os.path.exists(SRC):
    print("Build first, with dpkg-buildpackage")
    sys.exit(1)

os.system("rm -rf docs/reference/*")
os.system("cp -R %s/* docs/reference/" % SRC)

print ("Docs updated, you can now commit and push.")