jamulus/distributions/debian/rules

19 lines
715 B
Text
Raw Normal View History

2019-05-26 18:57:43 +02:00
#!/usr/bin/make -f
%:
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
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/
2019-05-28 01:23:30 +02:00
mkdir -p $$(pwd)/debian/jamulus/usr/share/icons/hicolor/48x48/apps/
2019-05-28 01:33:29 +02:00
cp $$(pwd)/distributions/jamulus.png $$(pwd)/debian/jamulus/usr/share/icons/hicolor/48x48/apps/
2019-05-28 02:52:22 +02:00
mkdir -p $$(pwd)/debian/jamulus/etc/systemd/system
cp $$(pwd)/distributions/jamulus-server.service $$(pwd)/debian/jamulus/etc/systemd/system/