jamulus/distributions/debian/rules
2019-05-28 01:33:29 +02:00

15 lines
563 B
Makefile
Executable file

#!/usr/bin/make -f
%:
dh $@
override_dh_auto_configure:
qmake CONFIG+=noupcasename Jamulus.pro
override_dh_usrlocal:
echo $$(pwd)
mkdir -p $$(pwd)/debian/jamulus/usr/bin/
install -D -m 0755 jamulus $$(pwd)/debian/jamulus/usr/bin/
mkdir -p $$(pwd)/debian/jamulus/usr/share/applications/
install -D -m 0755 $$(pwd)/src/res/jamulus.desktop $$(pwd)/debian/jamulus/usr/share/applications/
mkdir -p $$(pwd)/debian/jamulus/usr/share/icons/hicolor/48x48/apps/
cp $$(pwd)/distributions/jamulus.png $$(pwd)/debian/jamulus/usr/share/icons/hicolor/48x48/apps/