[Libreoffice-commits] online.git: loolwsd/Makefile.am

Pranav Kant pranavk at collabora.com
Tue Mar 22 18:53:54 UTC 2016


 loolwsd/Makefile.am |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 844ff4c571f30b4d87856ac68a4cbfea4681ddf6
Author: Pranav Kant <pranavk at collabora.com>
Date:   Tue Mar 22 23:56:57 2016 +0530

    loolwsd: Use automake generated tag rules to create tags file
    
    Automake already have rules, make tags and make ctags, for emacs
    and vim style tags respectively. We can pass our custom flags to
    them using the AM_ macros.
    
    https://www.gnu.org/software/automake/manual/html_node/Tags.html
    
    This commit also adds support to create emacs style tags using
    automake's pre-generated tag rules.
    
    Change-Id: I4f6ed997fab6964b3c1f6637e3fd0365f8d4c8b8
    Reviewed-on: https://gerrit.libreoffice.org/23442
    Reviewed-by: pranavk <pranavk at collabora.com>
    Tested-by: pranavk <pranavk at collabora.com>

diff --git a/loolwsd/Makefile.am b/loolwsd/Makefile.am
index 075beaf..2dec0ef 100644
--- a/loolwsd/Makefile.am
+++ b/loolwsd/Makefile.am
@@ -7,6 +7,9 @@ dist_bin_SCRIPTS = loolwsd-systemplate-setup discovery.xml
 AM_CPPFLAGS = -pthread
 AM_LDFLAGS = -pthread
 
+AM_ETAGSFLAGS = --c++-kinds=+p --fields=+iaS --extra=+q -R --totals=yes *
+AM_CTAGSFLAGS = $(AM_ETAGSFLAGS)
+
 shared_sources = LOOLProtocol.cpp LOOLSession.cpp MessageQueue.cpp Util.cpp
 
 loolwsd_SOURCES = LOOLWSD.cpp ChildProcessSession.cpp MasterProcessSession.cpp TileCache.cpp Admin.cpp $(shared_sources)
@@ -50,6 +53,3 @@ all-local: loolbroker loolkit
 	    sudo @SETCAP@ cap_fowner,cap_mknod,cap_sys_chroot=ep loolbroker; \
 	    sudo @SETCAP@ cap_fowner,cap_mknod,cap_sys_chroot=ep loolkit; \
 	fi
-
-tags:
-	ctags --c++-kinds=+p --fields=+iaS --extra=+q -R --totals=yes *


More information about the Libreoffice-commits mailing list