Move the patching code out of the debian rules into a Makefile.

This commit is contained in:
Erich E. Hoover
2014-02-07 20:37:54 -07:00
parent e77f05ee52
commit 564f8aeafc
2 changed files with 15 additions and 12 deletions

13
patches/Makefile Normal file
View File

@@ -0,0 +1,13 @@
install:
# Apply our patches to Wine
for DIR in $$(find $(CURDIR) -type d | sort); do \
for FILE in $$(ls $$DIR | sort | grep '\.patch$$'); do \
patch -d $(DESTDIR) -N -p0 --strip=1 < $$DIR/$$FILE || exit 1; \
done \
done
# Update the configure script
cd $(DESTDIR); autoreconf;
# Update the wineserver protocol request data
cd $(DESTDIR); ./tools/make_requests;