#!/bin/bash

intltool-extract --type=gettext/glade usr/share/ufficiozero/postinstall/postinstall.glade
xgettext --language=Python -cTRANSLATORS --keyword=_ --keyword=N_ --output=postinstall.pot  \
    usr/lib/ufficiozero/postinstall/postinstall.py                              \
    generate_desktop_files                                                    \
    usr/share/ufficiozero/postinstall/postinstall.glade.h

rm -f usr/share/ufficiozero/postinstall/postinstall.glade.h
