jamulus/distributions/debian/rules

22 lines
794 B
Text
Raw Normal View History

#!/usr/bin/make -f
%:
2019-05-26 18:57:43 +02:00
dh $@
2019-05-28 00:33:02 +02:00
override_dh_auto_configure:
qmake CONFIG+=noupcasename Jamulus.pro
2019-05-26 18:57:43 +02:00
2020-05-06 23:26:00 +02:00
override_dh_auto_build:
cd src/res/translation && lrelease *.ts
dh_auto_build
2019-05-26 18:57:43 +02:00
override_dh_usrlocal:
2019-05-28 01:33:29 +02:00
echo $$(pwd)
2019-05-26 19:17:39 +02:00
mkdir -p $$(pwd)/debian/jamulus/usr/bin/
2019-05-28 00:33:02 +02:00
install -D -m 0755 jamulus $$(pwd)/debian/jamulus/usr/bin/
2019-05-26 20:06:22 +02:00
mkdir -p $$(pwd)/debian/jamulus/usr/share/applications/
2019-05-28 01:40:47 +02:00
install -D -m 0755 $$(pwd)/distributions/jamulus.desktop $$(pwd)/debian/jamulus/usr/share/applications/
2020-04-19 03:19:47 +02:00
mkdir -p $$(pwd)/debian/jamulus/usr/share/icons/hicolor/512x512/apps/
cp $$(pwd)/distributions/jamulus.png $$(pwd)/debian/jamulus/usr/share/icons/hicolor/512x512/apps/
2019-05-29 23:16:32 +02:00
mkdir -p $$(pwd)/debian/jamulus/lib/systemd/system
2019-05-29 23:14:17 +02:00
cp $$(pwd)/distributions/jamulus-server.service $$(pwd)/debian/jamulus/lib/systemd/system/