From: Jami Kettunen Date: Sun, 18 Sep 2022 21:03:13 +0000 (+0300) Subject: Makefile: Install waydroid binary without relative symlink X-Git-Tag: 1.3.3~4 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/8dd2256d8513e6165a7993c3e03ed95344959e7b Makefile: Install waydroid binary without relative symlink This drops a build-time dependency on coreutils on Alpine Linux for example without changing anything functionally. Before: /usr/bin/waydroid: symbolic link to ../lib/waydroid/waydroid.py After: /usr/bin/waydroid: symbolic link to /usr/lib/waydroid/waydroid.py --- diff --git a/Makefile b/Makefile index 7c58571..810902e 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ build: install: install -d $(INSTALL_WAYDROID_DIR) $(INSTALL_BIN_DIR) $(INSTALL_APPS_DIR) $(INSTALL_METAINFO_DIR) cp -a data tools waydroid.py $(INSTALL_WAYDROID_DIR) - ln -srf $(INSTALL_WAYDROID_DIR)/waydroid.py $(INSTALL_BIN_DIR)/waydroid + ln -sf $(WAYDROID_DIR)/waydroid.py $(INSTALL_BIN_DIR)/waydroid mv $(INSTALL_WAYDROID_DIR)/data/*.desktop $(INSTALL_APPS_DIR) mv $(INSTALL_WAYDROID_DIR)/data/*.metainfo.xml $(INSTALL_METAINFO_DIR) if [ $(USE_SYSTEMD) = 1 ]; then \