summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.once.tail/20-systemd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/Makefile.once.tail/20-systemd.mk')
-rw-r--r--build-aux/Makefile.once.tail/20-systemd.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/build-aux/Makefile.once.tail/20-systemd.mk b/build-aux/Makefile.once.tail/20-systemd.mk
index 5fecb7fc4e..ea0e341c2d 100644
--- a/build-aux/Makefile.once.tail/20-systemd.mk
+++ b/build-aux/Makefile.once.tail/20-systemd.mk
@@ -20,8 +20,15 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
-include $(topsrcdir)/build-aux/Makefile.head.mk
+
+$(topsrcdir)/configure: $(topsrcdir)/configure.ac
+ cd $(@D) && autoreconf
+$(topoutdir)/config.status: $(topsrcdir)/configure
+ cd $(@D) && $(abspath $<)
+$(addprefix $(topoutdir)/,config.mk automake.mk autoconf.mk gnustandards.mk po/Makefile.in): $(topoutdir)/%: $(topoutdir)/config.status $(topsrcdir)/%.in
+ cd $(topoutdir) && ./config.status --file=$*
+$(addprefix $(topoutdir)/,config.h): $(topoutdir)/%: $(topoutdir)/config.status $(topsrcdir)/%.in
+ cd $(topoutdir) && ./config.status --file=$*
# Let's run all tests of the test suite, but under valgrind. Let's
# exclude perl/python/shell scripts we have in there
@@ -94,5 +101,3 @@ list-keys:
add-key:
gpg --verbose --no-options --no-default-keyring --no-auto-key-locate --batch --trust-model=always --keyring=$(srcdir)/src/import/import-pubring.gpg --import -
-$(eval $(value automake2autothing))
-include $(topsrcdir)/build-aux/Makefile.tail.mk