diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-02-24 00:25:29 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-13 13:57:34 +0100 |
commit | fa19cc9573aac19cfbf43364d4b5660c9ab645bc (patch) | |
tree | a2e24bd5efb311d6e1c637de2b34219dba9c7459 /vendor/vendor.makefile | |
parent | 9ec748ff103840c4c65471ca00d3b72984131ce4 (diff) |
autogenerate makefile for vendor system
It can be useful to have a whole makefile available for vendor setup,
but by providing a basic one we can deal with the simple cases more
easily (and changes to the system are presumably easier).
Diffstat (limited to 'vendor/vendor.makefile')
-rw-r--r-- | vendor/vendor.makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/vendor.makefile b/vendor/vendor.makefile new file mode 100644 index 000000000..40b35ea3d --- /dev/null +++ b/vendor/vendor.makefile @@ -0,0 +1,21 @@ +# -*- make -*- +BASE=../.. +SUBDIR=vendor/@@VENDOR@@ + +# Bring in the default rules +include ../../buildlib/defaults.mak + +doc binary manpages: sources.list + +sources.list: sources.list.in ../../doc/apt-verbatim.ent + sed -e 's#&debian-stable-codename;#$(shell ../getinfo debian-stable-codename)#g' \ + -e 's#&debian-oldstable-codename;#$(shell ../getinfo debian-oldstable-codename)#g' \ + -e 's#&debian-testing-codename;#$(shell ../getinfo debian-testing-codename)#g' \ + -e 's#&ubuntu-codename;#$(shell ../getinfo ubuntu-codename)#g' \ + -e 's#¤t-codename;#$(shell ../getinfo current-codename)#g' \ + $< > $@ + +clean: clean/sources.list + +clean/sources.list: + rm -f sources.list |