diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-17 00:53:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-17 00:53:57 +0100 |
commit | f19bd45476536439b0f9fe01808f5d118238c5b1 (patch) | |
tree | aa93a3ee42dde241b3217a7e4c4b31d232329bb4 /data/Makefile.am | |
parent | a3db5f00cfb924d3d93da5eca0914d23d7102fcd (diff) | |
download | ConsoleKit2-f19bd45476536439b0f9fe01808f5d118238c5b1.tar.gz |
build-sys: make sure make install can be run twice in a row
https://bugs.freedesktop.org/show_bug.cgi?id=32130
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index c45f15b..248f7cd 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -47,14 +47,19 @@ install-data-hook: $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants \ $(DESTDIR)$(systemdsystemunitdir)/kexec.target.wants ( cd $(DESTDIR)$(systemdsystemunitdir)/basic.target.wants && \ + rm -f console-kit-log-system-start.service && \ $(LN_S) ../console-kit-log-system-start.service ) ( cd $(DESTDIR)$(systemdsystemunitdir)/halt.target.wants && \ + rm -f console-kit-log-system-stop.service && \ $(LN_S) ../console-kit-log-system-stop.service ) ( cd $(DESTDIR)$(systemdsystemunitdir)/poweroff.target.wants && \ + rm -f console-kit-log-system-stop.service && \ $(LN_S) ../console-kit-log-system-stop.service ) ( cd $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants && \ + rm -f console-kit-log-system-restart.service && \ $(LN_S) ../console-kit-log-system-restart.service ) ( cd $(DESTDIR)$(systemdsystemunitdir)/kexec.target.wants && \ + rm -f console-kit-log-system-restart.service && \ $(LN_S) ../console-kit-log-system-restart.service ) endif |