gzip archive
This commit is contained in:
parent
12f71e8f48
commit
a5f7554d6b
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -1,6 +1,6 @@
|
|||
CC = gcc
|
||||
RM = rm -rf
|
||||
TAR = tar -cf
|
||||
TAR = tar -czf
|
||||
CP = cp -r
|
||||
MKDIR = mkdir -p
|
||||
|
||||
|
@ -63,11 +63,11 @@ pdf-clean:
|
|||
$(MAKE) clean
|
||||
|
||||
clean: pdf-clean
|
||||
$(RM) $(ALL_OBJECTS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE_NAME).tar"
|
||||
$(RM) $(ALL_OBJECTS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE_NAME).tar.gz"
|
||||
|
||||
archive: pdf-make
|
||||
$(MKDIR) "$(ARCHIVE_NAME)"
|
||||
$(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README "$(ARCHIVE_NAME)"
|
||||
$(CP) "$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE_NAME)/$(PDF_NEWNAME).pdf"
|
||||
$(TAR) "$(ARCHIVE_NAME).tar" "$(ARCHIVE_NAME)"
|
||||
$(TAR) "$(ARCHIVE_NAME).tar.gz" "$(ARCHIVE_NAME)"
|
||||
$(RM) "$(ARCHIVE_NAME)"
|
||||
|
|
Reference in a new issue