Browse Source

Adds zip release

Yann Weber 3 years ago
parent
commit
1d6a621285
3 changed files with 9 additions and 4 deletions
  1. 7
    2
      Makefile
  2. 1
    1
      README.txt
  3. 1
    1
      amd64elfquine.asm

+ 7
- 2
Makefile View File

@@ -1,6 +1,7 @@
1 1
 NASM=nasm
2 2
 LD=ld
3 3
 GZIP=gzip
4
+ZIP=zip
4 5
 BASE64=base64
5 6
 
6 7
 ASFLAGS=-felf64
@@ -8,7 +9,7 @@ LDFLAGS=-s -melf_x86_64
8 9
 
9 10
 all: amd64elfquine check
10 11
 
11
-dist: amd64elfquine amd64elfquine.gz amd64elfquine.gz.txt 
12
+dist: amd64elfquine amd64elfquine.zip amd64elfquine.gz amd64elfquine.gz.txt 
12 13
 	md5sum $^ > MD5SUMS;\
13 14
 	sha256sum $^ > SHA256SUMS;\
14 15
 	sha512sum $^ > SHA512SUMS;
@@ -19,6 +20,9 @@ amd64elfquine.gz.txt: amd64elfquine.gz
19 20
 amd64elfquine.gz: amd64elfquine
20 21
 	$(GZIP) -9 -c > $@ < $<
21 22
 
23
+amd64elfquine.zip: amd64elfquine
24
+	$(ZIP) -r amd64elfquine.zip amd64elfquine
25
+
22 26
 amd64elfquine: amd64elfquine.o
23 27
 	$(LD) $(LDFLAGS) $< -o $@
24 28
 
@@ -34,4 +38,5 @@ clean:
34 38
 	-rm -fv amd64elfquine.o
35 39
 
36 40
 distclean: clean
37
-	-rm -fv amd64elfquine amd64elfquine.gz amd64elfquine.gz.txt MD5SUMS SHA256SUMS SHA512SUMS
41
+	-rm -fv amd64elfquine amd64elfquine.gz amd64elfquine.gz.txt \
42
+		amd64elfquine.zip MD5SUMS SHA256SUMS SHA512SUMS

+ 1
- 1
README.txt View File

@@ -14,6 +14,6 @@ Produce a copy :
14 14
 
15 15
 Produce distributable copies :
16 16
 ------------------------------
17
-	# Needs gzip, base64, md5sum, sha256sum, sha512sum
17
+	# Needs gzip, zip, base64, md5sum, sha256sum, sha512sum
18 18
 	make dist
19 19
 

+ 1
- 1
amd64elfquine.asm View File

@@ -29,7 +29,7 @@
29 29
 ; 
30 30
 ; Produce distributable copies :
31 31
 ; ------------------------------
32
-; 	# Needs gzip, base64, md5sum, sha256sum, sha512sum
32
+; 	# Needs gzip, zip, base64, md5sum, sha256sum, sha512sum
33 33
 ; 	make dist
34 34
 ; 
35 35
 

Loading…
Cancel
Save