chiark / gitweb /
Makefile.am: fixed dependencies for man/index.html
[elogind.git] / Makefile.am
index ec50f408bce3e486ef6410de88bde0f1810544bd..b8ec740e055d12b2460f0a57f672ca3101fb8b26 100644 (file)
@@ -141,6 +141,7 @@ AM_CPPFLAGS = \
        -I $(top_srcdir)/src/login \
        -I $(top_srcdir)/src/journal \
        -I $(top_srcdir)/src/systemd \
+       -I $(top_builddir)/src/core \
        -I $(top_srcdir)/src/core \
        -I $(top_srcdir)/src/libudev \
        -I $(top_srcdir)/src/udev
@@ -668,8 +669,11 @@ noinst_DATA += \
 CLEANFILES += \
        man/index.html
 
-man/index.html: $(XML_FILES) $(top_srcdir)/make-man-index.py
-       $(AM_V_GEN)$(PYTHON) $(top_srcdir)/make-man-index.py $(XML_FILES) > $@ || rm $@
+$(builddir)/man/index.html: $(XML_FILES:.xml=.html) $(top_srcdir)/make-man-index.py
+       $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
+       $(PYTHON) $(top_srcdir)/make-man-index.py $(XML_FILES) > $@ || rm $@
+
+EXTRA_DIST += man/index.html
 endif
 
 endif
@@ -688,6 +692,8 @@ noinst_LTLIBRARIES += \
 libsystemd_shared_la_SOURCES = \
        src/shared/linux/auto_dev-ioctl.h \
        src/shared/linux/fanotify.h \
+       src/shared/linux/seccomp.h \
+       src/shared/linux/seccomp-bpf.h \
        src/shared/missing.h \
        src/shared/list.h \
        src/shared/macro.h \