]> git.saurik.com Git - apt.git/blame - vendor/vendor.makefile
eipp: implement Immediate-Configuration flag
[apt.git] / vendor / vendor.makefile
CommitLineData
fa19cc95
DK
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
7fa4f5e1
DK
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' \
fa19cc95
DK
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' \
7fa4f5e1 22 > $@
fa19cc95
DK
23
24clean: clean/sources.list
7fa4f5e1 25veryclean: clean/sources.list
fa19cc95
DK
26
27clean/sources.list:
28 rm -f sources.list