File: 02-remove-generated-files-in-clean-target.patch

package info (click to toggle)
original-awk 2022-09-12-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,284 kB
  • sloc: ansic: 5,739; awk: 1,235; sh: 973; yacc: 422; makefile: 68; fortran: 1
file content (14 lines) | stat: -rw-r--r-- 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From: Santiago Vila <sanvila@debian.org>
Subject: Remove generated files in clean target

--- a/makefile
+++ b/makefile
@@ -97,7 +97,7 @@
 	./REGRESS
 
 clean: testclean
-	rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda # proctab.c
+	rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda proctab.c ytab.c ytab.h
 
 cleaner: testclean
 	rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda proctab.c awkgram.tab.*