1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
---
Makefile.in | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
--- a/Makefile.in
+++ b/Makefile.in
@@ -98,11 +98,7 @@ distclean: clean
$(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) $(DCFLAGS) $(addprefix -L,$(curl_LIBS)) $(addprefix -L,$(sqlite_LIBS)) $(addprefix -L,$(notify_LIBS)) -L-ldl $(SOURCES) -of$@
install: all
|