41 lines
785 B
Makefile
41 lines
785 B
Makefile
#-------------------------------------------------------------------%
|
|
#
|
|
# JABSYNC: Synchronizer
|
|
#
|
|
#-------------------------------------------------------------------%
|
|
#
|
|
# Author :
|
|
# Glenn ROLLAND <glenux@fr.st>
|
|
#
|
|
# Contributors:
|
|
# (none)
|
|
#
|
|
#-------------------------------------------------------------------%
|
|
|
|
PRJNAME=JabSync
|
|
GDATE:= $(shell date +"%Y-%m-%d_r%H%M")
|
|
GFILENAME:= $(PRJNAME)-$(GDATE).tar.bz2
|
|
PATH_GFILENAME:= ../$(GFILENAME)
|
|
GFILESIZE:=
|
|
LOCALDIR=$(shell pwd)
|
|
|
|
all: usage
|
|
|
|
usage:
|
|
@echo "Usage: make [package] [clean]"
|
|
|
|
#doc:
|
|
# $(MAKE) -C doc/rapport
|
|
|
|
clean:
|
|
@rm -f *.pyc
|
|
|
|
package: clean createpackage sendtoarchives
|
|
|
|
createpackage:
|
|
tar -cjvf $(PATH_GFILENAME) -C ../ $(PRJNAME)
|
|
|
|
sendtoarchives:
|
|
mkdir -p ../Archives
|
|
mv $(PATH_GFILENAME) ../Archives
|
|
|