diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-16 18:34:31 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-16 18:34:31 +0200 |
commit | e9da3678fcfc774b325dc1eaa054d0e00028a1fc (patch) | |
tree | 54822b7c37909d6a70cbc62c8c9b2053aeb080d4 /Makefile.am | |
parent | 05a602f468a4f00d36ee7da73f13c0b014786fea (diff) |
build-sys: use autoconf'igured mkdir/ln/sed programs
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index b8ccc8203a..c676712e96 100644 --- a/Makefile.am +++ b/Makefile.am @@ -251,12 +251,12 @@ systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(VALA_CFLA systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS) systemd-initctl.service: units/systemd-initctl.service.in Makefile - sed -e 's,@libexecdir\@,$(libexecdir),g' \ + $(SED) -e 's,@libexecdir\@,$(libexecdir),g' \ -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \ < $< > $@ systemd-logger.service: units/systemd-logger.service.in Makefile - sed -e 's,@libexecdir\@,$(libexecdir),g' \ + $(SED) -e 's,@libexecdir\@,$(libexecdir),g' \ -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \ < $< > $@ @@ -287,8 +287,9 @@ install-data-hook: $(DESTDIR)$(pkgsysconfdir)/session \ $(DESTDIR)$(sysconfdir)/xdg/systemd \ $(DESTDIR)/cgroup/debug - rm -f $(DESTDIR)$(sysconfdir)/xdg/systemd/session - ln -sf $(DESTDIR)$(pkgsysconfdir)/session $(DESTDIR)$(sysconfdir)/xdg/systemd/session + ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ + rm -f session && \ + $(LN_S) $(DESTDIR)$(pkgsysconfdir)/session session ) DISTCHECK_CONFIGURE_FLAGS = \ --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) |