diff --git a/globals.mk b/globals.mk
index 8a765b24e1b8e905524c61427260a91a42277690..f30c7f45a81f660bd4287c551ce5a596386b4433 100644
--- a/globals.mk
+++ b/globals.mk
@@ -2,9 +2,6 @@
 
 src=$(abs_top_srcdir)
 
-ASTYLERC="$(top_srcdir)/../astylerc"
-indent="/usr/bin/astyle"
-
 RING_DIRTY_REPO ?= $(shell git diff-index --quiet HEAD 2>/dev/null || echo dirty)
 RING_REVISION ?= $(shell git log -1 --format="%h" --abbrev=10 2>/dev/null)
 JAMI_DATADIR ?= $(datadir)/jami
@@ -24,9 +21,3 @@ AM_CPPFLAGS += \
 	-DRING_DIRTY_REPO=\"$(RING_DIRTY_REPO)\" \
 	-DPJSIP_MAX_PKT_LEN=8000 \
 	-DPJ_AUTOCONF=1
-
-indent:
-	@echo "Indenting code:"
-	if [ -f $(ASTYLERC) ] ; then \
-                find $(top_srcdir)/src/ -name \*.cpp -o -name \*.h | xargs $(indent) --options=$(ASTYLERC) ; \
-	fi