use tar.gz
This commit is contained in:
parent
f97289f9c7
commit
fbc16b9e06
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
RM = rm -rf
|
RM = rm -rf
|
||||||
TAR = tar -cf
|
TAR = tar -czf
|
||||||
CP = cp -r
|
CP = cp -r
|
||||||
MKDIR = mkdir -p
|
MKDIR = mkdir -p
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@ BIN_DIR = bin
|
||||||
ENTRY = App
|
ENTRY = App
|
||||||
|
|
||||||
ARCHIVE_NAME = nom
|
ARCHIVE_NAME = nom
|
||||||
|
ARCHIVE_EXT = tar.gz
|
||||||
|
|
||||||
run: compilation
|
run: compilation
|
||||||
run:
|
run:
|
||||||
|
@ -21,10 +22,10 @@ all:
|
||||||
run
|
run
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(BIN_DIR) "$(ARCHIVE_NAME).tar"
|
$(RM) $(BIN_DIR) "$(ARCHIVE_NAME).$(ARCHIVE_EXT)"
|
||||||
|
|
||||||
archive:
|
archive:
|
||||||
$(MKDIR) "$(ARCHIVE_NAME)"
|
$(MKDIR) "$(ARCHIVE_NAME)"
|
||||||
$(CP) "$(SRC_DIR)" README.txt "$(ARCHIVE_NAME)"
|
$(CP) "$(SRC_DIR)" README.txt "$(ARCHIVE_NAME)"
|
||||||
$(TAR) "$(ARCHIVE_NAME).tar" "$(ARCHIVE_NAME)"
|
$(TAR) "$(ARCHIVE_NAME).$(ARCHIVE_EXT)" "$(ARCHIVE_NAME)"
|
||||||
$(RM) "$(ARCHIVE_NAME)"
|
$(RM) "$(ARCHIVE_NAME)"
|
||||||
|
|
Loading…
Reference in a new issue