aboutsummaryrefslogtreecommitdiff
path: root/windows/Makefile
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-02-06 10:06:32 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-02-06 10:06:32 +0200
commit3dfa58a9eedf5a0e566452b078801c9cbcf7a245 (patch)
treea4ca0f63b4c60e1858c5898e0ebb572beb6f7b60 /windows/Makefile
parentRecreated the BCJ test files for x86 and SPARC. The old files (diff)
downloadxz-3dfa58a9eedf5a0e566452b078801c9cbcf7a245.tar.xz
Some MSYS installations (e.g. MsysGit) don't includelarhzu/v4.999.8beta
install.exe, so don't rely on it.
Diffstat (limited to 'windows/Makefile')
-rw-r--r--windows/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/windows/Makefile b/windows/Makefile
index 43f25af6..c4c036c1 100644
--- a/windows/Makefile
+++ b/windows/Makefile
@@ -36,6 +36,8 @@ STRIP = strip
endif
SED = sed
+MKDIR = mkdir
+CP = cp
RM = rm -f
CFLAGS = -g -Wall -Wextra -O2
@@ -90,11 +92,11 @@ clean: liblzma-clean xzdec-clean xz-clean
pkg: all
$(RM) -r pkg
- install -d pkg/lib pkg/include/lzma
- install -m 0644 liblzma.dll xz.exe xzdec.exe lzmadec.exe pkg
- install -m 0644 liblzma.a liblzma.def pkg/lib
- install -m 0644 ../src/liblzma/api/lzma.h pkg/include
- install -m 0644 ../src/liblzma/api/lzma/*.h pkg/include/lzma
+ $(MKDIR) -p pkg/lib pkg/include/lzma
+ $(CP) liblzma.dll xz.exe xzdec.exe lzmadec.exe pkg
+ $(CP) liblzma.a liblzma.def pkg/lib
+ $(CP) ../src/liblzma/api/lzma.h pkg/include
+ $(CP) ../src/liblzma/api/lzma/*.h pkg/include/lzma
###############