jabsync/Makefile

42 lines
785 B
Makefile
Raw Normal View History

2005-08-16 10:12:25 +00:00
#-------------------------------------------------------------------%
#
# 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