Makefile: create a /usr/bin/usbinstall-gui symlink to launch gui from command line

This commit is contained in:
Silvan Calarco 2022-10-05 16:22:33 +02:00
parent 279bd34386
commit 315f93b6fa

View File

@ -47,6 +47,7 @@ install-locales: locales
done
install-dirs:
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
@$(INSTALL_DIR) $(DESTDIR)$(sbindir)
@$(INSTALL_DIR) $(DESTDIR)$(mambadir)/usbinstall
@$(INSTALL_DIR) $(DESTDIR)$(datadir)/applications
@ -65,6 +66,7 @@ install: install-dirs install-locales
$(INSTALL_DATA) src/org.openmamba.usbinstall.policy $(DESTDIR)$(polkitdir)/org.openmamba.usbinstall.policy
$(INSTALL_DATA) src/org.openmamba.usbinstall.conf $(DESTDIR)$(dbussystemdir)/org.openmamba.usbinstall.conf
$(INSTALL_DATA) src/usbinstall.desktop $(DESTDIR)$(datadir)/applications/usbinstall.desktop
ln -s ../share/openmamba/usbinstall/usbinstall.py $(DESTDIR)$(bindir)/usbinstall-gui
clean:
rm -f $(pck_catalogs:.po=.mo)