-
Notifications
You must be signed in to change notification settings - Fork 77
/
Makefile
59 lines (58 loc) · 1.5 KB
/
Makefile
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
59
SRCDIR=QWeb-0.8
SRCTGZ=${SRCDIR}.tar.gz
ATDIR=Ajaxterm-0.10
ATTGZ=${ATDIR}.tar.gz
nothing:
true
#
#all: dist
# true
#
#commit:
# git-commit -a
#
#push:
# git-push ssh://wis@udev.org/home/wis/sites/antony.lesuisse.org/public/qweb/qweb.git master
#
#repack:
# git-repack -a -d
#
#pub:
# rsync -av ajaxterm/README.txt wis@udev.org:sites/antony.lesuisse.org/public/software/ajaxterm/HEADER.html
#
#tgz:
# mkdir dist || true
# # Build
# rm README.txt || true
# cd python; python2.3 setup.py bdist_egg
# cd python; python2.4 setup.py bdist_egg
# # copy files
# cp python/dist/*.egg dist
# # clean build
# find . -iname '*.pyc' -exec rm -v '{}' ';'
# rm -Rf python/build python/dist python/QWeb.egg-info || true
# # Source
# mkdir ${SRCDIR} || true
# cp -r Makefile python ${SRCDIR}
# tar czf dist/${SRCTGZ} --owner=0 --group=0 --exclude=\*.pyc --exclude=.svn ${SRCDIR}
# rm -Rf ${SRCDIR}
# # AjaxTerm
# mkdir ${ATDIR} || true
# cp python/qweb/qweb.py ${ATDIR}
# cp ajaxterm/R*.txt ajaxterm/[a-z]* ${ATDIR}
# tar czf dist/${ATTGZ} ${ATDIR}
#
#dist: tgz
# # cleanup
# rm -Rf ${SRCDIR} ${DEMODIR} ${ATDIR}
#
#pub: tgz
# # publish
#ifeq ($(USER),wis)
# rsync -av dist/ wis@udev.org:sites/antony.lesuisse.org/public/qweb/files/
# rm -Rf ${SRCDIR} ${DEMODIR} ${ATDIR}
# ./tracsave.py 'http://antony.lesuisse.org/qweb/trac/wiki/WikiStart' 'README.txt'
# ./tracsave.py 'http://antony.lesuisse.org/qweb/trac/wiki/QwebPython' 'python/README-wiki.txt'
# ./tracsave.py 'http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm' 'ajaxterm/README.txt'
#endif
#