File: clean-no-double-colon.patch

package info (click to toggle)
petsc 3.24.1%2Bdfsg1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 524,004 kB
  • sloc: ansic: 762,842; cpp: 52,564; python: 39,546; f90: 17,688; javascript: 3,493; makefile: 3,206; sh: 1,508; xml: 619; objc: 445; java: 13; csh: 1
file content (28 lines) | stat: -rw-r--r-- 1,009 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Remove double-colon from clean target which causes breakage in reverse-depends.

Index: petsc/lib/petsc/conf/rules
===================================================================
--- petsc.orig/lib/petsc/conf/rules	2025-11-05 12:08:18.278515581 +0100
+++ petsc/lib/petsc/conf/rules	2025-11-05 12:08:18.273693534 +0100
@@ -34,7 +34,7 @@
               *.class *.ouit *.ad.* g_* silly.cmp *.tmp.* *.ilk *.pdb *.inst.c *.rej *.gcda *.gcno
 	@-${RM} -rf ${CLEANDIRS} *.dSYM AD_cache SunWS_cache
 
-clean:: clean-legacy
+clean: clean-legacy
 
 #
 #  These rules are for compiling the test examples.
Index: petsc/makefile
===================================================================
--- petsc.orig/makefile	2025-11-05 12:08:18.278515581 +0100
+++ petsc/makefile	2025-11-05 12:08:18.274356658 +0100
@@ -281,7 +281,7 @@
 allclean:
 	-@${OMAKE} -f gmakefile clean
 
-clean:: allclean
+clean: allclean
 
 distclean:
 	@if [ -f ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/reconfigure-${PETSC_ARCH}.py ]; then \