diff options
-rw-r--r-- | cmdline/makefile | 33 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | vendor/debian/makefile | 4 | ||||
-rw-r--r-- | vendor/raspbian/makefile | 3 | ||||
-rw-r--r-- | vendor/steamos/makefile | 4 | ||||
-rw-r--r-- | vendor/ubuntu/makefile | 3 |
6 files changed, 39 insertions, 14 deletions
diff --git a/cmdline/makefile b/cmdline/makefile index 06f170b6a..f89192e10 100644 --- a/cmdline/makefile +++ b/cmdline/makefile @@ -40,20 +40,6 @@ LIB_MAKES = apt-pkg/makefile SOURCE = apt-cdrom.cc include $(PROGRAM_H) -# The apt-key program -apt-key: apt-key.in - sed -e "s#&keyring-filename;#$(shell ../vendor/getinfo keyring-filename)#" \ - -e "s#&keyring-removed-filename;#$(shell ../vendor/getinfo keyring-removed-filename)#" \ - -e "s#&keyring-master-filename;#$(shell ../vendor/getinfo keyring-master-filename)#" \ - -e "s#&keyring-uri;#$(shell ../vendor/getinfo keyring-uri)#" \ - -e "s#&keyring-package;#$(shell ../vendor/getinfo keyring-package)#" $< > $@ - chmod 755 $@ - -SOURCE=apt-key -TO=$(BIN) -TARGET=program -include $(COPY_H) - # The apt-mark program PROGRAM=apt-mark SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) @@ -99,3 +85,22 @@ SLIBS = -lapt-pkg $(INTLLIBS) LIB_MAKES = apt-pkg/makefile SOURCE = apt-dump-solver.cc include $(PROGRAM_H) + +# The apt-key program +apt-key: apt-key.in + sed -e "s#&keyring-filename;#$(shell ../vendor/getinfo keyring-filename)#" \ + -e "s#&keyring-removed-filename;#$(shell ../vendor/getinfo keyring-removed-filename)#" \ + -e "s#&keyring-master-filename;#$(shell ../vendor/getinfo keyring-master-filename)#" \ + -e "s#&keyring-uri;#$(shell ../vendor/getinfo keyring-uri)#" \ + -e "s#&keyring-package;#$(shell ../vendor/getinfo keyring-package)#" $< > $@ + chmod 755 $@ + +SOURCE=apt-key +TO=$(BIN) +TARGET=program +include $(COPY_H) + +clean: clean/apt-key + +clean/apt-key: + rm -f apt-key diff --git a/debian/changelog b/debian/changelog index 0780118ad..78c2d4573 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +apt (0.9.15.4) UNRELEASED; urgency=low + + * remove auto-generated apt-key and sources.list on clean (closes: 739749) + + -- Michael Vogt <mvo@debian.org> Sat, 22 Feb 2014 17:58:08 +0100 + apt (0.9.15.3) unstable; urgency=medium [ Michael Vogt ] diff --git a/vendor/debian/makefile b/vendor/debian/makefile index 1f82d7f47..a1bb74f9b 100644 --- a/vendor/debian/makefile +++ b/vendor/debian/makefile @@ -9,3 +9,7 @@ doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< > $@ + +clean: + rm -f sources.list + diff --git a/vendor/raspbian/makefile b/vendor/raspbian/makefile index ced566c30..e5513ead4 100644 --- a/vendor/raspbian/makefile +++ b/vendor/raspbian/makefile @@ -9,3 +9,6 @@ doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< > $@ + +clean: + rm -f sources.list diff --git a/vendor/steamos/makefile b/vendor/steamos/makefile index c27494587..45ea18be2 100644 --- a/vendor/steamos/makefile +++ b/vendor/steamos/makefile @@ -9,3 +9,7 @@ doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< | sed -e 's#&steamos-codename;#$(shell ../getinfo current-distro-codename)#g' > $@ + +clean: + rm -f sources.list + diff --git a/vendor/ubuntu/makefile b/vendor/ubuntu/makefile index c4b35935f..1fe138d2b 100644 --- a/vendor/ubuntu/makefile +++ b/vendor/ubuntu/makefile @@ -9,3 +9,6 @@ doc binary manpages: sources.list sources.list: sources.list.in ../../doc/apt-verbatim.ent sed -e 's#&ubuntu-codename;#$(shell ../getinfo ubuntu-codename)#g' $< > $@ + +clean: + rm -f sources.list |