]>
Commit | Line | Data |
---|---|---|
fa19cc95 DK |
1 | # -*- make -*- |
2 | BASE=../.. | |
3 | SUBDIR=vendor/@@VENDOR@@ | |
4 | ||
5 | # Bring in the default rules | |
6 | include ../../buildlib/defaults.mak | |
7 | ||
8 | doc binary manpages: sources.list | |
9 | ||
10 | sources.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#¤t-codename;#$(shell ../getinfo current-codename)#g' \ | |
7fa4f5e1 | 22 | > $@ |
fa19cc95 DK |
23 | |
24 | clean: clean/sources.list | |
7fa4f5e1 | 25 | veryclean: clean/sources.list |
fa19cc95 DK |
26 | |
27 | clean/sources.list: | |
28 | rm -f sources.list |