File: Makefile

package info (click to toggle)
snakefood 1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 4,568 kB
  • ctags: 334
  • sloc: python: 2,212; makefile: 200; sh: 4
file content (21 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Graph the dependencies for zooko's pyutil.

ROOT=/usr/lib/python2.5

PDFS =						\
	stdlib.pdf

include ../Makefile.rules

# Remove anything that is not simply from the root of the package dir (including
# site-packages).
stdlib.deps: raw.deps
	cat $< | grep -v "$(ROOT)/" > $@

# Cluster at least the first level of subdirectories.
stdlib.clusters: 
	(cd $(ROOT); ls -1d * | grep -v \\. > $(shell pwd)/$@)

# FIXME: we could try clustering a variety of modules by hand, according to the
# documentation groupings, but that would require supporting cluster groups that
# do not depend on a filename prefix.  Do that and then run this again.