~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-06 05:15:15 UTC
  • mfrom: (5756.1.1 add-distclean)
  • Revision ID: pqm@pqm.ubuntu.com-20110406051515-ln2yumigzkhz7oiu
(mbp) add 'make realclean' target (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
PLUGIN_TARGET=plugin-release
29
29
PYTHON_BUILDFLAGS=
30
30
 
31
 
.PHONY: all clean extensions pyflakes api-docs check-nodocs check
 
31
.PHONY: all clean realclean extensions pyflakes api-docs check-nodocs check
32
32
 
33
33
all: extensions
34
34
 
66
66
        $(PYTHON) setup.py clean
67
67
        -find . -name "*.pyc" -o -name "*.pyo" -o -name "*.so" | xargs rm -f
68
68
 
 
69
realclean: clean
 
70
        # Remove files which are autogenerated but included by the tarball.
 
71
        rm -f bzrlib/*_pyx.c
 
72
        rm -f bzrlib/_simple_set_pyx.h bzrlib/_simple_set_pyx_api.h
 
73
 
69
74
# Build API documentation
70
75
docfiles = bzr bzrlib
71
76
api-docs: