summaryrefslogtreecommitdiff
path: root/doc/makefile
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-26 15:51:15 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-26 15:51:15 +0200
commit04e9cc0814dd0a77fcae4847d5d0d9002fa54a8f (patch)
tree4bf7464155370e51fd1eb94904f60fa6d7273442 /doc/makefile
parentaa9de3cd97897b269d61031082d1039a242d8b4a (diff)
downloadapt-04e9cc0814dd0a77fcae4847d5d0d9002fa54a8f.tar.gz
* doc/examples/sources.list:
- use the codename instead of 'stable' in the examples sources.list as we do in the manpage and as the debian-installer does
Diffstat (limited to 'doc/makefile')
-rw-r--r--doc/makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/makefile b/doc/makefile
index 7b49ac269..220a6160d 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -56,6 +56,9 @@ endif
SOURCE = apt.8
include $(MANPAGE_H)
+examples/sources.list: examples/sources.list.in apt-verbatim.ent
+ sed -e 's#&stable-codename;#$(shell grep --max-count=1 '^<!ENTITY stable-codename "' apt-verbatim.ent | cut -d'"' -f 2)#g' examples/sources.list.in > examples/sources.list
+
# Examples
SOURCE = examples/apt.conf examples/sources.list examples/configure-index examples/apt-https-method-example.conf
TO = $(DOC)