Commit c7bcb180 authored by Christophe Mutricy's avatar Christophe Mutricy

Don't distribute .la files for win32

parent 8b8a6842
...@@ -104,8 +104,10 @@ package-win32: FORCE ...@@ -104,8 +104,10 @@ package-win32: FORCE
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.sh tmp $(PREFIX) /$(DISTDIR) ./change_prefix.sh tmp $(PREFIX) /$(DISTDIR)
# Klugy kludge # Remove unused and potentially harmful files
(cd tmp/$(DISTDIR)/lib; rm -f *.la)
(cd tmp/$(DISTDIR)/bin; rm -f *.exe; chmod a+x *) (cd tmp/$(DISTDIR)/bin; rm -f *.exe; chmod a+x *)
(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