patchupdate.py: Also switch to $(DESTDIR) before applying the patchlist.

This commit is contained in:
Sebastian Lackner 2014-08-09 03:12:49 +02:00
parent 8d276fcfe1
commit ce013a8a78
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ PATCHLIST := {patchlist}
.PHONY: install
install: $(PATCHLIST)
cat *.ok | sort | $(CURDIR)/../debian/tools/patchlist.sh | $(PATCH)
cat *.ok | sort | $(CURDIR)/../debian/tools/patchlist.sh | (cd $(DESTDIR) && $(PATCH))
cd $(DESTDIR) && autoreconf -f
cd $(DESTDIR) && ./tools/make_requests

View File

@ -54,7 +54,7 @@ PATCHLIST := Miscellaneous.ok \
.PHONY: install
install: $(PATCHLIST)
cat *.ok | sort | $(CURDIR)/../debian/tools/patchlist.sh | $(PATCH)
cat *.ok | sort | $(CURDIR)/../debian/tools/patchlist.sh | (cd $(DESTDIR) && $(PATCH))
cd $(DESTDIR) && autoreconf -f
cd $(DESTDIR) && ./tools/make_requests