diff options
author | Jilles Tjoelker <jilles@irssi.org> | 2007-06-17 13:22:36 +0000 |
---|---|---|
committer | jilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2007-06-17 13:22:36 +0000 |
commit | 98e3a37d7b33056609f317a3f88dd8205570951f (patch) | |
tree | 37c789766be0e849e506876a0ca89fec7fb9c224 /src/perl | |
parent | 95a1e5dce3de95f894c23e447a6eeb21a01d1756 (diff) | |
download | irssi-98e3a37d7b33056609f317a3f88dd8205570951f.zip |
Use $(mkdir_p) instead of if [ ! -d X ]; then mkdir X; fi,
fixing a race condition with parallel builds.
Submitted by mandriva
Slightly simplified by me
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4559 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r-- | src/perl/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am index 7f58810d..62f1f3e8 100644 --- a/src/perl/Makefile.am +++ b/src/perl/Makefile.am @@ -47,11 +47,11 @@ noinst_HEADERS = \ libperl_core_la_DEPENDENCIES = .libs/libperl_orig.a .libs/DynaLoader.a .libs/libperl_orig.a: - if [ ! -d .libs ]; then mkdir .libs; fi + $(mkdir_p) .libs rm -f .libs/libperl_orig.a if [ x$(LIBPERL_A) = x ]; then touch .libs/libperl_orig.a; else $(LN_S) $(LIBPERL_A) .libs/libperl_orig.a; fi .libs/DynaLoader.a: - if [ ! -d .libs ]; then mkdir .libs; fi + $(mkdir_p) .libs rm -f .libs/DynaLoader.a $(LN_S) $(DYNALOADER_A) .libs/DynaLoader.a |