chiark / gitweb /
Move network-related journal programs to src/journal-remote/
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 26 Mar 2014 02:30:24 +0000 (22:30 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Jul 2014 02:23:47 +0000 (22:23 -0400)
Directory src/journal has become one of the largest directories,
and since systemd-journal-gatewayd, systemd-journal-remote, and
forthcoming systemd-journal-upload are all closely related, create
a separate directory for them.

Makefile.am
src/journal-remote/Makefile [new symlink]
src/journal-remote/browse.html [moved from src/journal/browse.html with 100% similarity]
src/journal-remote/journal-gatewayd.c [moved from src/journal/journal-gatewayd.c with 100% similarity]
src/journal-remote/journal-remote-parse.c [moved from src/journal/journal-remote-parse.c with 100% similarity]
src/journal-remote/journal-remote-parse.h [moved from src/journal/journal-remote-parse.h with 100% similarity]
src/journal-remote/journal-remote-write.c [moved from src/journal/journal-remote-write.c with 100% similarity]
src/journal-remote/journal-remote-write.h [moved from src/journal/journal-remote-write.h with 100% similarity]
src/journal-remote/journal-remote.c [moved from src/journal/journal-remote.c with 100% similarity]
src/journal-remote/microhttpd-util.c [moved from src/journal/microhttpd-util.c with 100% similarity]
src/journal-remote/microhttpd-util.h [moved from src/journal/microhttpd-util.h with 100% similarity]

index ff64cbf..4a698c8 100644 (file)
@@ -3449,19 +3449,19 @@ rootlibexec_PROGRAMS += \
        systemd-journal-remote
 
 systemd_journal_remote_SOURCES = \
-       src/journal/journal-remote-parse.h \
-       src/journal/journal-remote-parse.c \
-       src/journal/journal-remote-write.h \
-       src/journal/journal-remote-write.c \
-       src/journal/journal-remote.c
+       src/journal-remote/journal-remote-parse.h \
+       src/journal-remote/journal-remote-parse.c \
+       src/journal-remote/journal-remote-write.h \
+       src/journal-remote/journal-remote-write.c \
+       src/journal-remote/journal-remote.c
 
 systemd_journal_remote_LDADD = \
        libsystemd-internal.la \
        libsystemd-journal-core.la
 
 systemd_journal_remote_SOURCES += \
-       src/journal/microhttpd-util.h \
-       src/journal/microhttpd-util.c
+       src/journal-remote/microhttpd-util.h \
+       src/journal-remote/microhttpd-util.c
 
 systemd_journal_remote_CFLAGS = \
        $(AM_CFLAGS) \
@@ -3803,9 +3803,9 @@ rootlibexec_PROGRAMS += \
        systemd-journal-gatewayd
 
 systemd_journal_gatewayd_SOURCES = \
-       src/journal/journal-gatewayd.c \
-       src/journal/microhttpd-util.h \
-       src/journal/microhttpd-util.c
+       src/journal-remote/journal-gatewayd.c \
+       src/journal-remote/microhttpd-util.h \
+       src/journal-remote/microhttpd-util.c
 
 systemd_journal_gatewayd_LDADD = \
        libsystemd-logs.la \
@@ -3834,7 +3834,7 @@ nodist_systemunit_DATA += \
        units/systemd-journal-gatewayd.service
 
 dist_gatewayddocumentroot_DATA = \
-       src/journal/browse.html
+       src/journal-remote/browse.html
 
 endif
 
diff --git a/src/journal-remote/Makefile b/src/journal-remote/Makefile
new file mode 120000 (symlink)
index 0000000..d0b0e8e
--- /dev/null
@@ -0,0 +1 @@
+../Makefile
\ No newline at end of file