Generate love.desktop using CMake too

Since I cannot easily change the variable used there, update the autotools codepath to insert the CMake variable.
This commit is contained in:
Bart van Strien
2023-12-31 12:56:38 +01:00
parent 0302e0f2ac
commit 84982ff4ef
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ platform/unix/love.desktop: platform/unix/love.desktop.in
$(MKDIR_P) platform/unix
rm -f $@ $@.tmp
$(SED) \
-e "s|@bindir[@]|$(bindir)|" \
-e "s|@CMAKE_INSTALL_FULL_BINDIR[@]|$(bindir)|" \
${srcdir}/$@.in > $@.tmp
chmod a-w $@.tmp
mv $@.tmp $@