Auto-update the patch list when 'make DESTDIR=dest_dir install' is run.

This commit is contained in:
Erich E. Hoover 2014-02-15 18:38:28 -07:00
parent 7e5038e76c
commit 7a15599a3a

View File

@ -1,6 +1,9 @@
PATCH:=patch -N -p0 --strip=1
install:
# Update the list of patches
cd $(CURDIR)/..; ./generate-patchlist.sh > $(CURDIR)/patch-list.patch;
# Apply our patches to Wine
for DIR in $$(find $(CURDIR) -type d | sort); do \
for FILE in $$(ls $$DIR | sort | grep '\.patch$$'); do \