File: clean-no-double-colon.patch

package info (click to toggle)
petsc 3.23.1%2Bdfsg1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 515,576 kB
  • sloc: ansic: 751,607; cpp: 51,542; python: 38,598; f90: 17,352; javascript: 3,493; makefile: 3,157; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (24 lines) | stat: -rw-r--r-- 647 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
Remove double-colon from clean target which causes breakage in reverse-depends.

--- a/lib/petsc/conf/rules
+++ b/lib/petsc/conf/rules
@@ -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.
--- a/makefile
+++ b/makefile
@@ -282,7 +282,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 \