From 46a78c652d80818b4643c471432ae961b1ca5bd9 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Sat, 22 Feb 2014 18:07:43 +0100 Subject: remove auto-generated apt-key and sources.list on clean (closes: 739749) --- vendor/ubuntu/makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vendor/ubuntu/makefile') diff --git a/vendor/ubuntu/makefile b/vendor/ubuntu/makefile index c4b35935f..1fe138d2b 100644 --- a/vendor/ubuntu/makefile +++ b/vendor/ubuntu/makefile @@ -9,3 +9,6 @@ doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent sed -e 's#&ubuntu-codename;#$(shell ../getinfo ubuntu-codename)#g' $< > $@ + +clean: + rm -f sources.list -- cgit v1.2.3 From 5077916ef802948e6a3faab95b2d2a975438ec26 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Sat, 22 Feb 2014 18:22:04 +0100 Subject: improve clean for auto-generated sources.list --- vendor/ubuntu/makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vendor/ubuntu/makefile') diff --git a/vendor/ubuntu/makefile b/vendor/ubuntu/makefile index 1fe138d2b..afcaaf718 100644 --- a/vendor/ubuntu/makefile +++ b/vendor/ubuntu/makefile @@ -10,5 +10,7 @@ doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent sed -e 's#&ubuntu-codename;#$(shell ../getinfo ubuntu-codename)#g' $< > $@ -clean: +clean: clean/sources.list + +clean/sources.list: rm -f sources.list -- cgit v1.2.3