File: makefile_clean.patch

package info (click to toggle)
elkcode 10.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 10,672 kB
  • sloc: f90: 52,747; perl: 964; makefile: 352; sh: 296; python: 105; ansic: 67
file content (30 lines) | stat: -rw-r--r-- 923 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
29
30
Author: Michael Banck <mbanck@debian.org>
Description: Fix upstream Makefile to clean properly.

Index: elkcode/Makefile
===================================================================
--- elkcode.orig/Makefile
+++ elkcode/Makefile
@@ -12,6 +12,7 @@ clean:
 	cd src; $(MAKE) cleanall
 	cd src/eos; $(MAKE) clean
 	cd src/spacegroup; $(MAKE) clean
+	cd tests; rm -rf test-*/*.OUT test-*/RUNNING test-*/test.log
 	rm -f *.o *.mod *~ fort.* ifc* *.gcno *.exe
 
 test:
Index: elkcode/src/Makefile
===================================================================
--- elkcode.orig/src/Makefile
+++ elkcode/src/Makefile
@@ -237,8 +237,8 @@ elk:	$(OBJ)
 all:	elk
 
 clean:
-	rm -f *.o *.mod *~ ifc* *.gcno gmon.out *.aux *.dvi *.log \
-         elk.pdf *.tex *.toc *.out $(EXE)
+	rm -f *.o *.mod *~ *.a ifc* *.gcno gmon.out *.aux *.dvi *.log \
+         elk.pdf elk.lst *.tex *.toc *.out $(EXE)
 
 cleanall:
 	$(MAKE) clean