summaryrefslogtreecommitdiff
path: root/doc/makefile
diff options
context:
space:
mode:
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..f190046c0 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#&ubuntu-codename;#$(shell grep --max-count=1 '^<!ENTITY ubuntu-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)