File: Makefile

package info (click to toggle)
pyvnc2swf 0.9.3-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 360 kB
  • ctags: 470
  • sloc: python: 4,059; makefile: 60; sh: 34
file content (58 lines) | stat: -rw-r--r-- 1,825 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Makefile (only for maintainance purpose)
# $Id: Makefile,v 1.26 2007/05/06 02:58:42 euske Exp $
#
#  Copyright (C) 2005 by Yusuke Shinyama (yusuke at cs . nyu . edu)
#  All Rights Reserved.
#
#  This is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This software is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this software; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
#  USA.
#

CVSROOT=:ext:euske@vnc2swf.cvs.sourceforge.net:/cvsroot/vnc2swf
PACKAGE=pyvnc2swf
VERSION=0.9.3

all:

clean:
	-rm *~ '.#*' .DS_Store
	-cd bin && rm *~ '.#*' .DS_Store 
	-cd docs && rm *~ '.#*' .DS_Store 
	-cd pyvnc2swf && rm *.pyc *~ '.#*' .DS_Store 

up: clean
	sshon2
	cvs -d$(CVSROOT) update
diff: clean
	sshon2
	cvs -d$(CVSROOT) diff -u
commit: clean
	sshon2
	cvs -d$(CVSROOT) commit

check:
	cd pyvnc2swf && pychecker vnc2swf.py

pack: clean
	ln -s $(PACKAGE) ../$(PACKAGE)-$(VERSION)
	tar c -z -C.. -f ../$(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) \
		--dereference --numeric-owner --exclude CVS --exclude '.*'
	cd ../; zip -r $(PACKAGE)-$(VERSION).zip $(PACKAGE)-$(VERSION) -x '*/CVS*'
	rm ../$(PACKAGE)-$(VERSION)

publish: pack
	mv ../$(PACKAGE)-$(VERSION).tar.gz $(HOME)/public_html/vnc2swf/
	mv ../$(PACKAGE)-$(VERSION).zip $(HOME)/public_html/vnc2swf/
	cp docs/*.html $(HOME)/public_html/vnc2swf/