Skip to content

Commit

Permalink
Move TM into src
Browse files Browse the repository at this point in the history
Move the tag manager implementation to src as it really is part of Geany
sources and start making the ctags directory structure similar to
the universal-ctags one.

In principle, the patch does

mv tagmanager/src src/tagmanager
mv tagmanager/ctags tagmanager/main
mv tagmanager ctags

plus corresponding Makefile.am and configure.ac updates.
  • Loading branch information
techee committed Jul 21, 2016
1 parent 89d3bf7 commit 3d2e7d4
Show file tree
Hide file tree
Showing 97 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in

SUBDIRS = tagmanager scintilla src plugins icons po doc data tests
SUBDIRS = ctags scintilla src plugins icons po doc data tests

AUTOMAKE_OPTIONS = 1.7

Expand Down
8 changes: 4 additions & 4 deletions configure.ac
Expand Up @@ -147,13 +147,13 @@ AC_CONFIG_FILES([
icons/tango/32x32/Makefile
icons/tango/48x48/Makefile
icons/tango/scalable/Makefile
tagmanager/Makefile
tagmanager/ctags/Makefile
tagmanager/mio/Makefile
tagmanager/src/Makefile
ctags/Makefile
ctags/main/Makefile
ctags/mio/Makefile
scintilla/Makefile
scintilla/include/Makefile
src/Makefile
src/tagmanager/Makefile
plugins/Makefile
po/Makefile.in
data/Makefile
Expand Down
2 changes: 1 addition & 1 deletion tagmanager/Makefile.am → ctags/Makefile.am
@@ -1,3 +1,3 @@
## Process this file with automake to produce Makefile.in

SUBDIRS = mio ctags src
SUBDIRS = mio main
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion plugins/Makefile.am
Expand Up @@ -74,7 +74,7 @@ endif
AM_CPPFLAGS += \
-DGTK \
-I$(top_srcdir)/src \
-I$(top_srcdir)/tagmanager/src \
-I$(top_srcdir)/src/tagmanager \
-I$(top_srcdir)/scintilla/include \
$(GTK_CFLAGS) \
$(PLUGIN_CFLAGS)
Expand Down
5 changes: 3 additions & 2 deletions src/Makefile.am
@@ -1,5 +1,6 @@
## Process this file with automake to produce Makefile.in

SUBDIRS = tagmanager

EXTRA_DIST = \
gb.c \
Expand All @@ -15,7 +16,7 @@ EXTRA_DIST = \
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/scintilla/include \
-I$(top_srcdir)/tagmanager/src \
-I$(srcdir)/tagmanager \
-DGTK \
-DGEANY_PRIVATE \
-DG_LOG_DOMAIN=\""Geany"\" \
Expand Down Expand Up @@ -120,7 +121,7 @@ libgeany_la_LDFLAGS = @LIBGEANY_LDFLAGS@

libgeany_la_LIBADD = \
$(top_builddir)/scintilla/libscintilla.la \
$(top_builddir)/tagmanager/src/libtagmanager.la \
$(builddir)/tagmanager/libtagmanager.la \
@GTK_LIBS@ \
@GTHREAD_LIBS@ \
$(MAC_INTEGRATION_LIBS) \
Expand Down
6 changes: 3 additions & 3 deletions tagmanager/src/Makefile.am → src/tagmanager/Makefile.am
@@ -1,7 +1,7 @@
AM_CPPFLAGS = \
-I$(srcdir) \
-I$(srcdir)/.. \
-I$(srcdir)/../ctags \
-I$(top_srcdir)/ctags \
-I$(top_srcdir)/ctags/main \
-DGEANY_PRIVATE \
-DG_LOG_DOMAIN=\"Tagmanager\"
AM_CFLAGS = \
Expand Down Expand Up @@ -33,4 +33,4 @@ libtagmanager_la_SOURCES =\
tm_ctags_wrappers.h \
tm_ctags_wrappers.c

libtagmanager_la_LIBADD = ../ctags/libctags.la $(GTK_LIBS)
libtagmanager_la_LIBADD = $(top_builddir)/ctags/main/libctags.la $(GTK_LIBS)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3d2e7d4

Please sign in to comment.