mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-10-31 16:54:46 +00:00
22 lines
780 B
Makefile
Executable File
22 lines
780 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
DEB_PYTHON_SYSTEM := pysupport
|
|
DEB_MAKE_BUILD_TARGET := build
|
|
DEB_MAKE_INSTALL_TARGET := install
|
|
DEB_MAKE_CLEAN_TARGET := clean
|
|
|
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
|
include /usr/share/cdbs/1/class/python-distutils.mk
|
|
include /usr/share/cdbs/1/class/makefile.mk
|
|
|
|
binary-post-install/openlp::
|
|
for SIZE in 16x16 32x32 48x48 64x64 128x128 256x256; do \
|
|
mkdir -p debian/openlp/usr/share/icons/hicolor/$$SIZE/apps && \
|
|
cp resources/images/openlp-logo-$$SIZE.png debian/openlp/usr/share/icons/hicolor/$$SIZE/apps/openlp.png; \
|
|
done
|
|
|
|
mkdir -p debian/openlp/usr/share/icons/hicolor/scalable/apps && \
|
|
cp resources/images/openlp-logo.svg debian/openlp/usr/share/icons/hicolor/scalable/apps/openlp.svg
|
|
|
|
cd debian/openlp/usr/bin/ && mv openlp.pyw openlp
|