chiark / gitweb /
build-sys: add make upload target
[elogind.git] / Makefile.am
index dfea23df4f0c09e863ca3dbbe14172d5d36c0767..115197e6c736fc3592256826d899a66f69d107cb 100644 (file)
@@ -58,7 +58,8 @@ rootbin_PROGRAMS = \
        systemd-notify
 
 bin_PROGRAMS = \
-       systemd-install
+       systemd-install \
+       systemd-cgls
 
 if HAVE_GTK
 bin_PROGRAMS += \
@@ -312,13 +313,15 @@ EXTRA_DIST += \
        src/sd-daemon.h \
        src/special.h \
        src/dbus-common.h \
-       src/bus-errors.h
+       src/bus-errors.h \
+       src/cgroup-show.h
 
 MANPAGES = \
        man/systemd.1 \
        man/systemctl.1 \
        man/systemadm.1 \
        man/systemd-install.1 \
+       man/systemd-cgls.1 \
        man/systemd-notify.1 \
        man/sd_notify.3 \
        man/sd_booted.3 \
@@ -479,7 +482,8 @@ systemd_cgroups_agent_LDADD = \
 systemctl_SOURCES = \
        src/systemctl.c \
        src/utmp-wtmp.c \
-       src/dbus-common.c
+       src/dbus-common.c \
+       src/cgroup-show.c
 
 systemctl_CFLAGS = \
        $(AM_CFLAGS) \
@@ -499,7 +503,8 @@ systemd_notify_LDADD = \
 systemd_install_SOURCES = \
        src/install.c \
        src/path-lookup.c \
-       src/dbus-common.c
+       src/dbus-common.c \
+       src/sd-daemon.c
 
 systemd_install_LDADD = \
        libsystemd-basic.la \
@@ -509,6 +514,16 @@ systemd_install_CFLAGS = \
        $(AM_CFLAGS) \
        $(DBUS_CFLAGS)
 
+systemd_cgls_SOURCES = \
+       src/systemd-cgls.c \
+       src/cgroup-show.c
+
+systemd_cgls_LDADD = \
+       libsystemd-basic.la
+
+systemd_cgls_CFLAGS = \
+       $(AM_CFLAGS)
+
 systemadm_SOURCES = \
        src/systemadm.vala \
        src/systemd-interfaces.vala
@@ -671,7 +686,7 @@ CLEANFILES += \
 endif
 
 org.freedesktop.systemd1.%.xml: systemd
-       $(AM_V_GEN)./systemd --introspect=${@:.xml=} > $@
+       $(AM_V_GEN)SYSTEMD_SKIP_API_MOUNTS=1 ./systemd --introspect=${@:.xml=} > $@
 
 CLEANFILES += \
        $(dbusinterface_DATA)
@@ -752,7 +767,7 @@ if TARGET_FEDORA
                $(LN_S) $(systemunitdir)/prefdm.service display-manager.service )
        ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
                rm -f prefdm.service && \
-               $(LN_S) ../prefdm.service prefdm.service )
+               $(LN_S) $(systemunitdir)/prefdm.service prefdm.service )
        ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
                rm -f rc-local.service && \
                $(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
@@ -767,8 +782,8 @@ if TARGET_GENTOO
                rm -f display-manager.service && \
                $(LN_S) $(systemunitdir)/xdm.service display-manager.service )
        ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
-               rm -f prefdm.service && \
-               $(LN_S) ../prefdm.service prefdm.service )
+               rm -f xdm.service && \
+               $(LN_S) $(systemunitdir)/xdm.service xdm.service )
 endif
 
 DISTCHECK_CONFIGURE_FLAGS = \
@@ -779,3 +794,11 @@ DISTCHECK_CONFIGURE_FLAGS = \
        --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) \
        --with-pamlibdir=$$dc_install_base/$(pamlibdir) \
        --with-rootdir=$$dc_install_base/$(rootdir)
+
+upload: all distcheck
+       cp -v systemd-$(VERSION).tar.bz2 /home/lennart/cvs.fedora/systemd/devel/
+       scp systemd-$(VERSION).tar.bz2 fdo:/srv/www.freedesktop.org/www/software/systemd/
+       scp man/*.html tango:public/systemd-man/
+
+git-tag:
+       git tag "v$(VERSION)" -m "systemd $(VERSION)"