[vlc-commits] [Git][videolan/vlc][master] contrib: remove older config.status in the source tree

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Nov 22 05:14:02 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
a6219130 by Steve Lhomme at 2022-11-22T04:28:26+00:00
contrib: remove older config.status in the source tree

Contribs used to be build in the source tree. Autotools sometimes complain when
you configure outside of tree if you had configured inside the tree before.
We just need to remove the file it uses for detection of older builds.

Fixes #27521

- - - - -


1 changed file:

- contrib/src/main.mak


Changes:

=====================================
contrib/src/main.mak
=====================================
@@ -442,7 +442,7 @@ BUILD_SRC := ..
 # build directory relative to UNPACK_DIR
 BUILD_DIRUNPACK = vlc_build
 
-MAKEBUILDDIR = mkdir -p $(BUILD_DIR) && rm -f $(BUILD_DIR)/config.status
+MAKEBUILDDIR = mkdir -p $(BUILD_DIR) && rm -f $(BUILD_DIR)/config.status && test ! -f $</config.status || $(MAKE) -C $< distclean
 MAKEBUILD = $(MAKE) -C $(BUILD_DIR)
 MAKECONFDIR = cd $(BUILD_DIR) && $(HOSTVARS) $(BUILD_SRC)
 MAKECONFIGURE = $(MAKECONFDIR)/configure $(HOSTCONF)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a6219130d77157a5767c852f0e2b2253b72d6d8c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a6219130d77157a5767c852f0e2b2253b72d6d8c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list