Commit e0d9a006 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contrib and qt4 exe for whiners

parent 53e97358
...@@ -103,10 +103,15 @@ package-win32: FORCE ...@@ -103,10 +103,15 @@ package-win32: FORCE
cp -r src/live/$$i/include tmp/$(DISTDIR)/live.com/$$i; \ cp -r src/live/$$i/include tmp/$(DISTDIR)/live.com/$$i; \
cp src/live/$$i/lib$${i}.a tmp/$(DISTDIR)/live.com/$$i; \ cp src/live/$$i/lib$${i}.a tmp/$(DISTDIR)/live.com/$$i; \
done; done;
# Change Prefix.
./change_prefix.sh tmp $(PREFIX) $(DISTDIR) ./change_prefix.sh tmp $(PREFIX) $(DISTDIR)
# Hack for qt4
(cd tmp/$(DISTDIR)/bin; mv uic.exe uic.ex; mv rcc.exe rcc.ex; mv moc.exe moc.ex)
# Remove unused and potentially harmful files # Remove unused and potentially harmful files
(cd tmp/$(DISTDIR)/bin; rm -f *.exe; chmod a+x *) (cd tmp/$(DISTDIR)/bin; rm -rfv *.exe; chmod a+x *)
# Hack for qt4
(cd tmp/$(DISTDIR)/bin; mv uic.ex uic.exe; mv rcc.ex rcc.exe; mv moc.ex moc.exe)
# Tar it.
(cd tmp; tar cf - $(DISTDIR)) | bzip2 -c > contrib-`date +%Y%m%d`-win32-bin-gcc-`$(CC) --version|head -n 1|cut -f 3 -d ' '`-only.tar.bz2 (cd tmp; tar cf - $(DISTDIR)) | bzip2 -c > contrib-`date +%Y%m%d`-win32-bin-gcc-`$(CC) --version|head -n 1|cut -f 3 -d ' '`-only.tar.bz2
rm -rf tmp rm -rf tmp
FORCE: FORCE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment