[Kimchi-devel] [Wok 1/2] Fix version error in RPM building

Lucio Correia luciojhc at linux.vnet.ibm.com
Mon Dec 7 18:22:15 UTC 2015


This code is not necessary because version is already got
by configure.ac code.

Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
---
 Makefile.am | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 106a577..d78bb11 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -156,12 +156,8 @@ uninstall-local:
 	$(RM) -rf $(DESTDIR)/etc/wok
 	$(RM) $(DESTDIR)/etc/nginx/conf.d/wok.conf
 
-VERSION:
-	@if test -d .git; then                                \
-		git describe --abbrev=0 > $@;                     \
-	fi
 
-.PHONY: deb install-deb rpm fedora-rpm suse-rpm ChangeLog VERSION
+.PHONY: deb install-deb rpm fedora-rpm suse-rpm ChangeLog
 
 
 clean-local:
-- 
1.9.1




More information about the Kimchi-devel mailing list