aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-10-07 23:48:44 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2025-10-08 02:03:16 +0200
commit055045e559ae98f4b9157970dae7ad74e6d45ff0 (patch)
tree72316175164581264e9ec11d9b95a7c822e843b5
parent32c4b34829e3d2d43f405c98f6edff32ae96a74a (diff)
configure: Call distclean for submodules
-rwxr-xr-xconfigure16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure b/configure
index 3328319..73d5610 100755
--- a/configure
+++ b/configure
@@ -193,6 +193,22 @@ distclean: clean
rm Makefile
EOF
+# dynstr has no distclean target as of the time of this writing.
+
+if [ $in_tree_libweb -ne 0 ]
+then
+cat <<"EOF" >> $F
+ +cd libweb && $(MAKE) distclean
+EOF
+fi
+
+if [ $in_tree_fdzipstream -ne 0 ]
+then
+cat <<"EOF" >> $F
+ +cd fdzipstream && $(MAKE) distclean
+EOF
+fi
+
cat <<"EOF" >> $F
-include $(DEPS)
EOF