aboutsummaryrefslogtreecommitdiff
path: root/tools/automake/patches/999-clean-am.patch
blob: a9642d1c79515d245fb9cf75f9a39f0d819ca41a (plain)
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
--- a/lib/am/clean.am
+++ b/lib/am/clean.am
@@ -39,7 +39,7 @@ distclean-generic:
 ## If you change distclean here, you probably also want to change
 ## maintainer-clean below.
 distclean:
-	-rm -f %MAKEFILE%
+	-touch %MAKEFILE%
 
 maintainer-clean-am: maintainer-clean-generic distclean-am
 maintainer-clean-generic:
@@ -51,7 +51,7 @@ maintainer-clean-generic:
 
 ## See comment for distclean.
 maintainer-clean:
-	-rm -f %MAKEFILE%
+	-touch %MAKEFILE%
 
 .PHONY: clean mostlyclean distclean maintainer-clean \
 clean-generic mostlyclean-generic distclean-generic maintainer-clean-generic
--- a/lib/am/libtool.am
+++ b/lib/am/libtool.am
@@ -25,4 +25,4 @@ clean-libtool:
 
 ?TOPDIR_P?distclean-am: distclean-libtool
 ?TOPDIR_P?distclean-libtool:
-?TOPDIR_P?	-rm -f libtool config.lt
+?TOPDIR_P?	-touch libtool config.lt