summaryrefslogtreecommitdiff
path: root/vendor/debian/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/debian/makefile')
-rw-r--r--vendor/debian/makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/debian/makefile b/vendor/debian/makefile
new file mode 100644
index 000000000..41202c6a0
--- /dev/null
+++ b/vendor/debian/makefile
@@ -0,0 +1,11 @@
+# -*- make -*-
+BASE=../..
+SUBDIR=vendor/debian
+
+# Bring in the default rules
+include ../../buildlib/defaults.mak
+
+doc: sources.list
+
+sources.list: sources.list.in ../../doc/apt-verbatim.ent
+ sed -e 's#&stable-codename;#$(shell grep --max-count=1 '^<!ENTITY stable-codename "' ../../doc/apt-verbatim.ent | cut -d'"' -f 2)#g' $^ > $@