diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-06-07 14:41:36 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-04 10:27:19 +0200 |
commit | a0b15b41771a262d042dbb6ac32a7f9614100714 (patch) | |
tree | 954a4657cc7af97162060e9932d7eb1f4688742a /src/libsystemd/sd-device/device-util.h | |
parent | shared/logs-show: indentation (diff) | |
download | systemd-a0b15b41771a262d042dbb6ac32a7f9614100714.tar.xz systemd-a0b15b41771a262d042dbb6ac32a7f9614100714.zip |
basic/log: add a define for path relative to source root
When using build/ directory inside of the source directory:
__FILE__: ../src/test/test-log.c
RELATIVE_SOURCE_PATH: ..
PROJECT_FILE: src/test/test-log.c
When using a build directory outside of the source directory:
__FILE__: ../../../home/zbyszek/src/systemd-work/src/test/test-log.c
RELATIVE_SOURCE_PATH: ../../../home/zbyszek/src/systemd-work
PROJECT_FILE: src/test/test-log.c
Diffstat (limited to 'src/libsystemd/sd-device/device-util.h')
0 files changed, 0 insertions, 0 deletions