diff options
author | Michael Vogt <mvo@debian.org> | 2014-02-22 18:22:04 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-02-22 18:22:04 +0100 |
commit | 5077916ef802948e6a3faab95b2d2a975438ec26 (patch) | |
tree | 1bfb2a5ef32aa7f51dc14a8dcea294dc11d3292b | |
parent | 46a78c652d80818b4643c471432ae961b1ca5bd9 (diff) |
improve clean for auto-generated sources.list
-rw-r--r-- | vendor/debian/makefile | 4 | ||||
-rw-r--r-- | vendor/raspbian/makefile | 4 | ||||
-rw-r--r-- | vendor/steamos/makefile | 4 | ||||
-rw-r--r-- | vendor/ubuntu/makefile | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/vendor/debian/makefile b/vendor/debian/makefile index a1bb74f9b..25bc0350c 100644 --- a/vendor/debian/makefile +++ b/vendor/debian/makefile @@ -10,6 +10,8 @@ doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< > $@ -clean: +clean: clean/sources.list + +clean/sources.list: rm -f sources.list diff --git a/vendor/raspbian/makefile b/vendor/raspbian/makefile index e5513ead4..c4464900f 100644 --- a/vendor/raspbian/makefile +++ b/vendor/raspbian/makefile @@ -10,5 +10,7 @@ doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< > $@ -clean: +clean: clean/sources.list + +clean/sources.list: rm -f sources.list diff --git a/vendor/steamos/makefile b/vendor/steamos/makefile index 45ea18be2..9ee0e65a2 100644 --- a/vendor/steamos/makefile +++ b/vendor/steamos/makefile @@ -10,6 +10,8 @@ doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< | sed -e 's#&steamos-codename;#$(shell ../getinfo current-distro-codename)#g' > $@ -clean: +clean: clean/sources.list + +clean/sources.list: rm -f sources.list 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 |