File: make-clean.patch

package info (click to toggle)
mcron 1.0.8-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,364 kB
  • ctags: 158
  • sloc: sh: 1,307; lisp: 1,042; ansic: 407; makefile: 54
file content (51 lines) | stat: -rw-r--r-- 1,495 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- a/makefile.am
+++ b/makefile.am
@@ -27,7 +27,7 @@
                        install-sh missing texinfo.tex INSTALL \
                        aclocal.m4 compile depcomp mcron.1
 
-CLEANFILES = mcron.c core.scm
+CLEANFILES = mcron.c
 
 EXTRA_DIST = makefile.ed mcron.c.template BUGS
 
--- a/makefile.in
+++ b/makefile.in
@@ -311,7 +311,7 @@
                        install-sh missing texinfo.tex INSTALL \
                        aclocal.m4 compile depcomp mcron.1
 
-CLEANFILES = mcron.c core.scm
+CLEANFILES = mcron.c
 EXTRA_DIST = makefile.ed mcron.c.template BUGS
 info_TEXINFOS = mcron.texinfo
 dist_man_MANS = mcron.1
--- a/scm/mcron/makefile.am
+++ b/scm/mcron/makefile.am
@@ -5,6 +5,8 @@
 pkgdata_DATA = core.scm environment.scm job-specifier.scm redirect.scm \
                vixie-time.scm vixie-specification.scm config.scm
 
+CLEANFILES = core.scm
+
 
 # If you're wondering, the configure script keeps deleting all files with a name
 # like core.*, so we have to keep re-making it (I lost a good day's work because
--- a/scm/mcron/makefile.in
+++ b/scm/mcron/makefile.in
@@ -209,6 +209,7 @@
 pkgdata_DATA = core.scm environment.scm job-specifier.scm redirect.scm \
                vixie-time.scm vixie-specification.scm config.scm
 
+CLEANFILES = core.scm
 all: all-am
 
 .SUFFIXES:
@@ -331,6 +332,7 @@
 mostlyclean-generic:
 
 clean-generic:
+	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)