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
|
||||
TAR = tar -cf
|
||||
TAR = tar -czf
|
||||
CP = cp -r
|
||||
MKDIR = mkdir -p
|
||||
|
||||
|
@ -9,6 +9,7 @@ BIN_DIR = bin
|
|||
ENTRY = App
|
||||
|
||||
ARCHIVE_NAME = nom
|
||||
ARCHIVE_EXT = tar.gz
|
||||
|
||||
run: compilation
|
||||
run:
|
||||
|
@ -21,10 +22,10 @@ all:
|
|||
run
|
||||
|
||||
clean:
|
||||
$(RM) $(BIN_DIR) "$(ARCHIVE_NAME).tar"
|
||||
$(RM) $(BIN_DIR) "$(ARCHIVE_NAME).$(ARCHIVE_EXT)"
|
||||
|
||||
archive:
|
||||
$(MKDIR) "$(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)"
|
||||
|
|
Loading…
Reference in a new issue