fix build on windows

This commit is contained in:
Mathias Panzenböck 2018-01-13 06:25:33 +01:00
parent 3584d2093a
commit 5e13111ef0
2 changed files with 7 additions and 1 deletions

View File

@ -68,7 +68,11 @@ endif
.PHONY: all clean install uninstall builddir
ifeq ($(PLATFORM),posix)
all: $(BIN) $(BUILDDIR)/$(MANPAGE)
else
all: $(BIN)
endif
builddir: $(BUILDDIR)

View File

@ -1,8 +1,10 @@
#!/bin/bash
set -e
pkg=mediaextract-`git describe --tags`
rm -r $pkg $pkg.zip
rm -r $pkg $pkg.zip 2>/dev/null || echo
git clone . $pkg/source
rm -rf $pkg/source/.git $pkg/source/.gitignore
mv $pkg/source/README.md $pkg