forked from mailpile/Mailpile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (31 loc) · 971 Bytes
/
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
# Recipies for stuff
export PYTHONPATH := .
combined:
@./scripts/breeder.py static \
mailpile/__init__.py \
mailpile/util.py \
mailpile/mailutils.py \
mailpile/ui.py \
mailpile/commands.py \
mailpile/httpd.py \
mailpile/app.py \
>mailpile-tmp.py
@chmod +x mailpile-tmp.py
@mv mailpile-tmp.py dist/mailpile-`python setup.py --version`.py
@ls -l dist/mailpile-*.py
dev: tools
@rm -f .SELF
@ln -fs . .SELF
@ln -fs scripts/mailpile mp
@echo export PYTHONPATH=`pwd`
tools: scripts/breeder.py Makefile
scripts/breeder.py:
@ln -fs ../../Beanstalks/PyBreeder/breeder.py scripts/breeder.py
distclean: clean
@rm -rvf dist/*.*
clean:
@rm -vf *.pyc */*.pyc mailpile-tmp.py scripts/breeder.py mailpile.py
@rm -vf .appver MANIFEST setup.cfg .SELF mp
@rm -vrf *.egg-info build/
@rm -vf debian/files debian/control debian/copyright debian/changelog
@rm -vrf debian/pagekite* debian/python* debian/init.d