X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=03a65bf08454b91c57bc829568090315249eae7b;hp=c71367d32a0a2f863281e7bc42e38e062388d038;hb=f0f2e63bb2d5cd27e6a2464ee46a670a3159c5da;hpb=24442f3b2598fbd0654aaf9d1370d596fedc83be diff --git a/Makefile.am b/Makefile.am index c71367d32..03a65bf08 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2047,6 +2047,20 @@ libsystemd_la_LIBADD = \ $(RT_LIBS) \ -lresolv +libsystemd-install-hook: + libname=libsystemd.so && $(move-to-rootlibdir) + -$(MKDIR_P) $(DESTDIR)/var/log/journal + -chown 0:0 $(DESTDIR)/var/log/journal + -chmod 755 $(DESTDIR)/var/log/journal + -setfacl -nm g:adm:rx,d:g:adm:rx $(DESTDIR)/var/log/journal/ + -setfacl -nm g:wheel:rx,d:g:wheel:rx $(DESTDIR)/var/log/journal/ + +libsystemd-uninstall-hook: + rm -f $(DESTDIR)$(rootlibdir)/libsystemd.so* + +INSTALL_EXEC_HOOKS += libsystemd-install-hook +UNINSTALL_EXEC_HOOKS += libsystemd-uninstall-hook + pkgconfiglib_DATA += \ src/libsystemd/libsystemd.pc @@ -4231,7 +4245,8 @@ id128_la_LDFLAGS = \ id128_la_LIBADD = \ $(PYTHON_DEVEL_LIBS) \ - libsystemd.la + libsystemd.la \ + libsystemd-shared.la _daemon_la_SOURCES = \ src/python-systemd/_daemon.c \ @@ -4252,7 +4267,8 @@ _daemon_la_LDFLAGS = \ _daemon_la_LIBADD = \ $(PYTHON_DEVEL_LIBS) \ - libsystemd.la + libsystemd.la \ + libsystemd-shared.la _reader_la_SOURCES = \ src/python-systemd/_reader.c \