X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/fa19cc9573aac19cfbf43364d4b5660c9ab645bc..7c1dca1439b956a085b09c73fdbe5a66af20241b:/vendor/vendor.makefile diff --git a/vendor/vendor.makefile b/vendor/vendor.makefile index 40b35ea3d..32de3b0d5 100644 --- a/vendor/vendor.makefile +++ b/vendor/vendor.makefile @@ -8,14 +8,21 @@ include ../../buildlib/defaults.mak doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent - sed -e 's#&debian-stable-codename;#$(shell ../getinfo debian-stable-codename)#g' \ + while read line; do \ + if [ "$${line}" = '&sourceslist-list-format;' ]; then \ + $(BASE)/vendor/getinfo vendor sourceslist-list-format ; \ + else \ + echo "$${line}"; \ + fi \ + done < $< | sed -e 's#&debian-stable-codename;#$(shell ../getinfo debian-stable-codename)#g' \ -e 's#&debian-oldstable-codename;#$(shell ../getinfo debian-oldstable-codename)#g' \ -e 's#&debian-testing-codename;#$(shell ../getinfo debian-testing-codename)#g' \ -e 's#&ubuntu-codename;#$(shell ../getinfo ubuntu-codename)#g' \ -e 's#¤t-codename;#$(shell ../getinfo current-codename)#g' \ - $< > $@ + > $@ clean: clean/sources.list +veryclean: clean/sources.list clean/sources.list: rm -f sources.list