2014-02-07 20:43:37 -07:00

29 lines
774 B
Makefile

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;
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;