makefile 332 B

123456789101112
  1. # -*- make -*-
  2. BASE=../..
  3. SUBDIR=vendor/ubuntu
  4. # Bring in the default rules
  5. include ../../buildlib/defaults.mak
  6. doc: sources.list
  7. sources.list: sources.list.in ../../doc/apt-verbatim.ent
  8. sed -e 's#&ubuntu-codename;#$(shell grep --max-count=1 '^<!ENTITY ubuntu-codename "' ../../doc/apt-verbatim.ent | cut -d'"' -f 2)#g' $^ > $@