units/fsck@.service.in \
units/fsck-root.service.in \
units/quotacheck.service.in \
- systemd.pc.in
+ systemd.pc.in \
+ introspect.awk
if TARGET_FEDORA
dist_systemunit_DATA += \
man/shutdown.8 \
man/pam_systemd.8 \
man/systemd.conf.5 \
- man/tmpfiles.d.5
+ man/tmpfiles.d.5 \
+ man/hostname.5 \
+ man/vconsole.conf.5 \
+ man/locale.conf.5 \
+ man/os-release.5 \
+ man/modules-load.d.5
MANPAGES_ALIAS = \
man/reboot.8 \
${XML_IN_FILES:.xml.in=.html.in}
endif
+DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
+
org.freedesktop.systemd1.%.xml: systemd
- $(AM_V_GEN)SYSTEMD_SKIP_API_MOUNTS=1 ./systemd --introspect=${@:.xml=} > $@
+ $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \
+ $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \
+ $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp
CLEANFILES += \
$(dbusinterface_DATA)