File: Makefile

package info (click to toggle)
pylize 1.3b-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 344 kB
  • ctags: 139
  • sloc: python: 935; makefile: 63
file content (29 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (2)
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
PY_FILES = pylize
SETUP_DIRS = build dist
PYLIZE = build/scripts/pylize
PYTHON = python
SETUP_CFG = setup.cfg

all: $(PYLIZE) doc

$(PYLIZE): $(PY_FILES) $(SETUP_CFG)
	$(PYTHON) setup.py build

$(SETUP_CFG) $(PY_FILES): pylize.in
	$(PYTHON) configure.py $(PREFIX)

install: $(PYLIZE)
	$(PYTHON) install.py

install_user: $(PYLIZE)
	$(PYTHON) install.py $(HOME)

doc:
	$(MAKE) -C doc

clean:
	rm -rf $(SETUP_DIRS) MANIFEST $(SETUP_CFG) $(PY_FILES)
	$(MAKE) -C doc clean
	
dist: clean
	$(PYTHON) setup.py sdist --formats=bztar,zip --no-defaults