mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Add an uninstall rule to the patch Makefile.
This commit is contained in:
parent
564f8aeafc
commit
39fa530c33
@ -11,3 +11,18 @@ install:
|
||||
|
||||
# Update the wineserver protocol request data
|
||||
cd $(DESTDIR); ./tools/make_requests;
|
||||
|
||||
uninstall:
|
||||
# Remove our patches from Wine
|
||||
for DIR in $$(find $(CURDIR) -type d | sort -r); do \
|
||||
for FILE in $$(ls $$DIR | sort -r | grep '\.patch$$'); do \
|
||||
patch -d $(DESTDIR) -R -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user