X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=Makefile;h=a65c1d9b522e107d42317c0c64cfa7e7c9692b9c;hp=9df9c7c81190b19ba0fa1bb954d645d0d4648c38;hb=ff8033e08a111812342694e718bd008b96c9e3a6;hpb=27c64c0cf4038d02f46031e98d954c7d9cc5317d diff --git a/Makefile b/Makefile index 9df9c7c8..a65c1d9b 100644 --- a/Makefile +++ b/Makefile @@ -790,28 +790,7 @@ install-data: makeversion .PHONY: install-dll ifeq ($(OS),Win32) install-dll: - set -e; \ - dllfetch() \ - { \ - dll=$$1; \ - [ -f "install/$$dll" ] && return; \ - dllsource=`which $$dll`; \ - echo "Fetching $$dll..."; \ - $(CP) $$dllsource install/$$dll; \ - dlldeps install/$$dll; \ - }; \ - dlldeps() \ - { \ - echo "Looking for dependencies of $$1..."; \ - $(OBJDUMP) -p $$1 | grep "DLL Name" | grep -- '-' | while read -r DUMMY1 DUMMY2 dll; do \ - dllfetch $$dll; \ - done; \ - }; \ - dllfetch zlib1.dll; \ - dllfetch intl.dll; \ - for obj in install/*.$(EXE) install/*/*.$(DLL); do \ - dlldeps $$obj; \ - done + sh install-dlls.sh else install-dll: echo No DLL inclusion required for this target.