You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
patchupdate.py: Remove ugly hack to remove *.ok files on failure, use .INTERMEDIATE instead.
This commit is contained in:
9
debian/tools/Makefile.in
vendored
9
debian/tools/Makefile.in
vendored
@@ -8,14 +8,7 @@ PATCH := $(CURDIR)/../debian/tools/gitapply.sh -d $(DESTDIR)
|
||||
PATCHLIST := {patchlist}
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
@$(MAKE) apply; \
|
||||
status=$$?; \
|
||||
rm -f *.ok; \
|
||||
exit $$status
|
||||
|
||||
.PHONY: apply
|
||||
apply: $(PATCHLIST)
|
||||
install: $(PATCHLIST)
|
||||
cat *.ok | sort | $(CURDIR)/../debian/tools/patchlist.sh | $(PATCH)
|
||||
cd $(DESTDIR) && autoreconf -f
|
||||
cd $(DESTDIR) && ./tools/make_requests
|
||||
|
||||
1
debian/tools/patchupdate.py
vendored
1
debian/tools/patchupdate.py
vendored
@@ -399,6 +399,7 @@ def generate_makefile(all_patches, fp):
|
||||
fp.write("# |\n")
|
||||
|
||||
# Generate dependencies and code to apply patches
|
||||
fp.write(".INTERMEDIATE: %s.ok\n" % patch.name)
|
||||
depends = " ".join([""] + ["%s.ok" % all_patches[d].name for d in patch.depends]) if len(patch.depends) else ""
|
||||
fp.write("%s.ok:%s\n" % (patch.name, depends))
|
||||
for f in patch.files:
|
||||
|
||||
Reference in New Issue
Block a user