summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'vendor')
-rw-r--r--vendor/debian/makefile4
-rw-r--r--vendor/raspbian/makefile4
-rw-r--r--vendor/steamos/makefile4
-rw-r--r--vendor/ubuntu/makefile4
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