forked from eto/qwik
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
65 lines (45 loc) · 1.41 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
60
61
62
63
64
65
# Copyright (C) 2003-2006 Kouichirou Eto, All rights reserved.
# This is free software with ABSOLUTELY NO WARRANTY.
# You can redistribute it and/or modify it under the terms of the GNU GPL 2.
RUBY=ruby
default: test
debug:
$(RUBY) -Ilib bin/qwikweb-server -d -c etc/config-debug.txt
mldebug:
$(RUBY) -Ilib bin/quickml-server -d -c etc/config-debug.txt
run:
$(RUBY) -Ilib bin/qwikweb-server -c etc/config.txt
mlrun:
$(RUBY) -Ilib bin/qwikweb-server -c etc/config.txt
watch:
$(RUBY) -Ilib bin/qwik-service --watchlog -c etc/config-debug.txt
test:
cd lib/qwik; make; cd ../..
version:
$(RUBY) -Ilib lib/qwik/dev-release.rb --generate-vesrion
manifest: version
$(RUBY) -Ilib lib/qwik/dev-release.rb --generate-manifest
dist: manifest
$(RUBY) -Ilib lib/qwik/dev-release.rb --generate-dist
upload: dist
$(RUBY) -Ilib lib/qwik/dev-release.rb --upload
clean:
-rm *~ .config InstalledFiles
cd lib/qwik; make clean; cd ../..
realclean: clean
-rm MANIFEST
cd ext; make clean; cd ..
svnprop:
svn propdel svn:executable INSTALL
svn propset svn:ignore -F svnignore.txt .
# only for qwik.jp
sup:
svn up Makefile lib share bin debian ext COPYING ChangeLog MANIFEST NEWS README
# no update: etc go crontab supall
ps:
date; ps auxww | grep qwik | grep ruby
showmemory:
ruby bin/showmemory
chmod:
chmod 644 .cvsignore svnignore.txt
.PHONY: debug mldebug run mlrun watch test version manifest dist upload clean realclean