diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-09-30 16:23:22 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-09-30 16:23:22 +0300 |
commit | 1a029357bbb73896b60689034662bbba7f88bfe5 (patch) | |
tree | 8bbb3f8d3ab2bfc2c1117f9734e4bd8be695898f /Makefile.am | |
parent | c4f3145f297eef0fe3032fb7efb5b78b87fd4933 (diff) | |
download | libmicrohttpd-1a029357bbb73896b60689034662bbba7f88bfe5.tar.gz libmicrohttpd-1a029357bbb73896b60689034662bbba7f88bfe5.zip |
Prevent useless run of po/configure when nothing was changed.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index a95daeb0..b67b3cb3 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -65,8 +65,12 @@ clean-local: | |||
65 | po/Makefile: $(srcdir_po)/Makefile.in.in $(srcdir_po)/Makevars $(srcdir_po)/POTFILES.in po/config.status | 65 | po/Makefile: $(srcdir_po)/Makefile.in.in $(srcdir_po)/Makevars $(srcdir_po)/POTFILES.in po/config.status |
66 | @$(am__cd) po && @SHELL@ ./config.status ./Makefile.in po-directories | 66 | @$(am__cd) po && @SHELL@ ./config.status ./Makefile.in po-directories |
67 | 67 | ||
68 | # Regenerate po/config.status if this Makefile is changed as configure parameters may be updated | 68 | po/configargs.stamp: |
69 | po/config.status: $(srcdir_po)/configure Makefile | 69 | @$(MAKE) $(AM_MAKEFLAGS) $(top_builddir)/config.status && \ |
70 | @SHELL@ ./config.status po/configargs.stamp | ||
71 | |||
72 | # Regenerate po/config.status if 'po/configure' was updated or 'configure' parameters was changed | ||
73 | po/config.status: $(srcdir_po)/configure po/configargs.stamp | ||
70 | @$(MKDIR_P) po && $(am__cd) po && echo "cd po && @SHELL@ ./configure @ac_configure_args@" && \ | 74 | @$(MKDIR_P) po && $(am__cd) po && echo "cd po && @SHELL@ ./configure @ac_configure_args@" && \ |
71 | @SHELL@ $(abs_top_srcdir)/po/configure @ac_configure_args@ --srcdir=$(abs_top_srcdir)/po \ | 75 | @SHELL@ $(abs_top_srcdir)/po/configure @ac_configure_args@ --srcdir=$(abs_top_srcdir)/po \ |
72 | --disable-option-checking --no-create --no-recursion | 76 | --disable-option-checking --no-create --no-recursion |