---
 Makefile.in |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- a/Makefile.in	2025-11-06 07:34:48.391455705 +0000
+++ b/Makefile.in	2025-11-06 07:35:20.849927089 +0000
@@ -104,11 +104,7 @@
 	rm -f Makefile contrib/pacman/PKGBUILD contrib/spec/onedrive.spec onedrive.1 $(system_unit_files) $(user_unit_files)
 
 onedrive: $(SOURCES)
-	if [ -f .git/HEAD ] ; then \
-		git describe --tags > version ; \
-	else \
-		echo $(version) > version ; \
-	fi
+	echo v$(shell dpkg-parsechangelog  -S version) > version
 	$(DC) -J. $(GUI_NOTIFICATIONS) $(DCFLAGS) $^ $(addprefix $(LINKER_DCFLAG),$(all_libs)) $(OUTPUT_DCFLAG)$@
 
 install: all
