]> git.saurik.com Git - apt.git/blame_incremental - vendor/vendor.makefile
deprecate 'apt-key update' and no-op it in Debian
[apt.git] / vendor / vendor.makefile
... / ...
CommitLineData
1# -*- make -*-
2BASE=../..
3SUBDIR=vendor/@@VENDOR@@
4
5# Bring in the default rules
6include ../../buildlib/defaults.mak
7
8doc binary manpages: sources.list
9
10sources.list: sources.list.in ../../doc/apt-verbatim.ent
11 while read line; do \
12 if [ "$${line}" = '&sourceslist-list-format;' ]; then \
13 $(BASE)/vendor/getinfo vendor sourceslist-list-format ; \
14 else \
15 echo "$${line}"; \
16 fi \
17 done < $< | sed -e 's#&debian-stable-codename;#$(shell ../getinfo debian-stable-codename)#g' \
18 -e 's#&debian-oldstable-codename;#$(shell ../getinfo debian-oldstable-codename)#g' \
19 -e 's#&debian-testing-codename;#$(shell ../getinfo debian-testing-codename)#g' \
20 -e 's#&ubuntu-codename;#$(shell ../getinfo ubuntu-codename)#g' \
21 -e 's#&current-codename;#$(shell ../getinfo current-codename)#g' \
22 > $@
23
24clean: clean/sources.list
25veryclean: clean/sources.list
26
27clean/sources.list:
28 rm -f sources.list