File: automake-remove-more-generated-files-on-distclean.patch

package info (click to toggle)
swtpm 0.10.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,008 kB
  • sloc: ansic: 20,787; sh: 14,667; makefile: 760; python: 173
file content (35 lines) | stat: -rw-r--r-- 929 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
31
32
33
34
35
Author: Luca Boccassi <luca.boccassi@gmail.com>
Description: automake: remove more generated files on distclean
Forwarded: https://github.com/stefanberger/swtpm/pull/1058
--- a/include/swtpm/Makefile.am
+++ b/include/swtpm/Makefile.am
@@ -8,3 +8,5 @@
 
 swtpminclude_HEADERS = \
 	tpm_ioctl.h
+
+CLEANFILES = tpm_ioctl.h.gch
--- a/man/man3/Makefile.am
+++ b/man/man3/Makefile.am
@@ -18,3 +18,5 @@
 		--section=3 $< > $@
 
 EXTRA_DIST = $(man3_MANS) $(man3_PODS)
+
+CLEANFILES = $(man3_MANS)
--- a/man/man5/Makefile.am
+++ b/man/man5/Makefile.am
@@ -22,3 +22,5 @@
 		--section=5 $< > $@
 
 EXTRA_DIST = $(man5_MANS) $(man5_PODS)
+
+CLEANFILES = $(man5_MANS)
--- a/src/selinux/Makefile.am
+++ b/src/selinux/Makefile.am
@@ -90,4 +90,4 @@
 	swtpmcuse.if \
 	swtpmcuse.te
 
-CLEANFILES = *.pp *.pp.bz2 swtpm_libvirt.if swtpm_svirt.if *.fc
+CLEANFILES = *.pp *.pp.bz2 swtpm_libvirt.if swtpm_svirt.if *.fc $(top_srcdir)/src/selinux/tmp