diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-09-23 23:08:00 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-09-23 23:08:00 +0000 |
commit | 9bc37184cf52eef6a50cb29667e1231818fc2ca0 (patch) | |
tree | a91502e605eb0d3ecfdcae4f49f37558407bb435 | |
parent | 8de3799b923ab0436819c95002fc191fbcca00c2 (diff) |
Fix parallel installation bugs.
install-exec-local hooks may be run in parallel. This may result in
the attempted installation of files into directories before they have
been created. Fixed by using install-exec-hook instead.
Reported and axgetput-only patch by Thomas Beierlein <tb@forth-ev.de>.
-rw-r--r-- | 6pack/Makefile.am | 2 | ||||
-rw-r--r-- | ax25/axgetput/Makefile.am | 2 | ||||
-rw-r--r-- | kiss/Makefile.am | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/6pack/Makefile.am b/6pack/Makefile.am index e9673a1..014cfe2 100644 --- a/6pack/Makefile.am +++ b/6pack/Makefile.am @@ -15,6 +15,6 @@ INCLUDES = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \ AX25_SYSCONFDIR=${sysconfdir}/ax25/ AX25_LOCALSTATEDIR=${localstatedir}/ax25/ -install-exec-local: +install-exec-hook: (cd $(DESTDIR)$(sbindir)) diff --git a/ax25/axgetput/Makefile.am b/ax25/axgetput/Makefile.am index aa05aaf..d3f8f8f 100644 --- a/ax25/axgetput/Makefile.am +++ b/ax25/axgetput/Makefile.am @@ -13,7 +13,7 @@ EXTRA_DIST = $(man_MANS) axgetput_SOURCES = axgetput.c axgetput.h util.h proto_bin.h util.c proto_bin.c includes.h -install-exec-local: +install-exec-hook: (cd $(DESTDIR)$(bindir) && ln -sf axgetput bget && ln -sf axgetput bput) install-data-hook: diff --git a/kiss/Makefile.am b/kiss/Makefile.am index 47c6ef4..120afb4 100644 --- a/kiss/Makefile.am +++ b/kiss/Makefile.am @@ -15,6 +15,6 @@ INCLUDES = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \ AX25_SYSCONFDIR=${sysconfdir}/ax25/ AX25_LOCALSTATEDIR=${localstatedir}/ax25/ -install-exec-local: +install-exec-hook: (cd $(DESTDIR)$(sbindir) ; ln -sf kissattach spattach) |