]> Nishi Git Mirror - libw3.git/commitdiff
makefile fix
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 26 Jan 2024 02:04:34 +0000 (02:04 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Fri, 26 Jan 2024 02:04:34 +0000 (02:04 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@70 d27a3e52-49c5-7645-884c-6793ebffc270

Makefile

index f1c10c210bb0fc052663e265be01d11e3ce82367..a7d71a04abaacf8d88e10671bb76fb4d2bd603f3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -107,10 +107,18 @@ install: ./w3.pc
 
 archive: all
        mkdir -p w3-$(VERSION)/Library
-       mkdir -p w3-$(VERSION)/Example
-       cp $(ALL) ./Library/*.h w3-$(VERSION)/
+       mkdir -p w3-$(VERSION)/Example/W3B
+       mkdir -p w3-$(VERSION)/Example/fetch
+       cp -rf ./Library/*.h w3-$(VERSION)/Library/
 ifdef WINDOWS
-       -cp ./Library/*.lib w3-$(VERSION)/
+       cp ./Library/*.lib w3-$(VERSION)/Library/
+       cp ./Library/*.dll w3-$(VERSION)/Library/
+       cp ./Example/fetch/fetch.exe w3-$(VERSION)/Example/fetch/
+       cp ./Example/W3B/w3b.exe w3-$(VERSION)/Example/W3B/
+else
+       cp ./Library/*.so w3-$(VERSION)/Library/
+       cp ./Example/fetch/fetch w3-$(VERSION)/Example/fetch/
+       cp ./Example/W3B/w3b w3-$(VERSION)/Example/W3B/
 endif
        -mv w3-$(VERSION)/*.h w3-$(VERSION)/Library/
        -mv w3-$(VERSION)/*.so w3-$(VERSION)/Library/