From: Lennart Poettering Date: Mon, 26 Feb 2018 10:48:46 +0000 (+0100) Subject: doc: add a new doc/ directory, and move two markdown docs into them X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fcd0e2bc194112f772ba10bb3182da7139f1da10;p=elogind.git doc: add a new doc/ directory, and move two markdown docs into them I figure sooneror later we'll have more of these docs, hence let's give them a clean place to be. This leaves NEWS and README/README.md as well as the LICENSE texts in the root directory of the project since that appears to be customary for Free Software projects. --- diff --git a/NEWS b/NEWS index 7f780f000..63b2a3fa3 100644 --- a/NEWS +++ b/NEWS @@ -373,8 +373,8 @@ CHANGES WITH 236: store again, ahead of POLLHUP or POLLERR when they are removed anyway. - * A new document UIDS-GIDS.md has been added to the source tree, that - documents the UID/GID range and assignment assumptions and + * A new document doc/UIDS-GIDS.md has been added to the source tree, + that documents the UID/GID range and assignment assumptions and requirements of systemd. * The watchdog device PID 1 will ping may now be configured through the @@ -1106,7 +1106,7 @@ CHANGES WITH 233: * Documentation has been added that lists all of systemd's low-level environment variables: - https://github.com/systemd/systemd/blob/master/ENVIRONMENT.md + https://github.com/systemd/systemd/blob/master/doc/ENVIRONMENT.md * sd-daemon gained a new API sd_is_socket_sockaddr() for determining whether a specific socket file descriptor matches a specified socket @@ -1817,7 +1817,7 @@ CHANGES WITH 231: booted up with "systemd-nspawn -b -i", qemu-kvm or on any physical UEFI PC. This functionality is particularly useful to easily test local changes made to systemd in a pristine, defined environment. See - HACKING for details. + doc/HACKING for details. * configure learned the --with-support-url= option to specify the distribution's bugtracker. diff --git a/meson.build b/meson.build index e2d9b2cf6..193cbe51b 100644 --- a/meson.build +++ b/meson.build @@ -2903,17 +2903,19 @@ install_subdir('factory/etc', # install_data('modprobe.d/systemd.conf', # install_dir : modprobedir) #endif // 0 -install_data('README', - 'NEWS', - 'CODING_STYLE', #if 0 /// UNNEEDED by elogind -# 'DISTRO_PORTING', -# 'ENVIRONMENT.md', #endif // 0 - 'LICENSE.GPL2', +install_data('LICENSE.GPL2', 'LICENSE.LGPL2.1', - 'TRANSIENT-SETTINGS.md', - 'UIDS-GIDS.md', + 'NEWS', + 'README', + 'doc/CODING_STYLE', + 'doc/DISTRO_PORTING', + 'doc/ENVIRONMENT.md', + 'doc/HACKING', + 'doc/TRANSIENT-SETTINGS.md', + 'doc/TRANSLATORS', + 'doc/UIDS-GIDS.md', 'src/libelogind/sd-bus/GVARIANT-SERIALIZATION', install_dir : docdir) diff --git a/src/basic/verbs.c b/src/basic/verbs.c index f2e9f29d6..0c87121c1 100644 --- a/src/basic/verbs.c +++ b/src/basic/verbs.c @@ -41,7 +41,7 @@ bool running_in_chroot_or_offline(void) { /* Added to support use cases like rpm-ostree, where from %post scripts we only want to execute "preset", but * not "start"/"restart" for example. * - * See ENVIRONMENT.md for docs. + * See doc/ENVIRONMENT.md for docs. */ r = getenv_bool("SYSTEMD_OFFLINE"); if (r < 0 && r != -ENXIO)