From eef71f11a5836eb82df133cb4e24cb4806642188 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 30 Nov 2013 14:01:28 +0100 Subject: introduce a vendor system to change sources.list Many derivatives make quiet a few simple changes to apt introducing silly diffs just to change examples and co making it harder for them to update apt and harder for us to merge real changes back. First stop: doc/examples/sources.list --- .gitignore | 3 +++ Makefile | 3 ++- doc/apt-verbatim.ent | 4 ++-- doc/examples/sources.list.in | 8 -------- doc/makefile | 12 ++++++++---- vendor/debian/makefile | 11 +++++++++++ vendor/debian/sources.list.in | 8 ++++++++ vendor/makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ vendor/ubuntu/makefile | 11 +++++++++++ vendor/ubuntu/sources.list.in | 10 ++++++++++ 10 files changed, 97 insertions(+), 15 deletions(-) delete mode 100644 doc/examples/sources.list.in create mode 100644 vendor/debian/makefile create mode 100644 vendor/debian/sources.list.in create mode 100644 vendor/makefile create mode 100644 vendor/ubuntu/makefile create mode 100644 vendor/ubuntu/sources.list.in diff --git a/.gitignore b/.gitignore index 3e07e241b..d840ae48c 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,6 @@ /debian/libapt-pkg*.install /debian/libapt-inst*.install /debian/libapt-pkg-dev.install +/vendor/current +/vendor/debian/sources.list +/vendor/ubuntu/sources.list diff --git a/Makefile b/Makefile index fb843983c..394149bf1 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ default: startup all .PHONY: headers library clean veryclean all binary program doc test update-po all headers library clean veryclean binary program doc manpages debiandoc test update-po startup dirs: + $(MAKE) -C vendor $@ $(MAKE) -C apt-pkg $@ $(MAKE) -C apt-inst $@ $(MAKE) -C apt-private $@ @@ -20,7 +21,7 @@ all headers library clean veryclean binary program doc manpages debiandoc test u $(MAKE) -C dselect $@ $(MAKE) -C doc $@ $(MAKE) -C po $@ - $(MAKE) -C test $@ + $(MAKE) -C test $@ all headers library clean veryclean binary program doc manpages debiandoc test update-po: startup dirs diff --git a/doc/apt-verbatim.ent b/doc/apt-verbatim.ent index 0d0d95c7a..30b0c7fe0 100644 --- a/doc/apt-verbatim.ent +++ b/doc/apt-verbatim.ent @@ -221,11 +221,11 @@ - + - +