mirror of
https://github.com/systemd/python-systemd.git
synced 2026-05-15 08:56:53 -04:00
5 lines
202 B
Makefile
5 lines
202 B
Makefile
SED = sed
|
|
INCLUDE_DIR = /usr/include/
|
|
|
|
systemd/id128-constants.h: $(INCLUDE_DIR)/systemd/sd-messages.h
|
|
$(SED) -n -r 's/,//g; s/#define (SD_MESSAGE_[A-Z0-9_]+)\s.*/add_id(m, "\1", \1) JOINER/p' <$< >$@
|