diff options
| author | Seth Vidal <skvidal@fedoraproject.org> | 2007-09-27 16:12:47 -0400 |
|---|---|---|
| committer | Seth Vidal <skvidal@fedoraproject.org> | 2007-09-27 16:12:47 -0400 |
| commit | 046f0757c06eb47892863b025ff26e298d3700b2 (patch) | |
| tree | ccb2e401500424eba36a9dbd8261f769bcfe53a1 /func | |
| parent | 45ee808c11d736fa98bf80e517cf63e3389fb0e0 (diff) | |
| parent | a2b89a5d64b632759c76ab7f90d4f7879d7acb42 (diff) | |
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
* 'master' of ssh://git.fedoraproject.org/git/hosted/func:
just some prettyifying
top level targs for "pyflakes" and "pychecker"
add util makefiles here
make "make clean" go into the subdirs and run makeclean there
Diffstat (limited to 'func')
| -rwxr-xr-x | func/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/func/Makefile b/func/Makefile new file mode 100755 index 0000000..86a3db8 --- /dev/null +++ b/func/Makefile @@ -0,0 +1,19 @@ + + +PYFILES = $(wildcard *.py) + +PYCHECKER = /usr/bin/pychecker +PYFLAKES = /usr/bin/pyflakes + +clean:: + @rm -fv *.pyc *~ .*~ *.pyo + @find . -name .\#\* -exec rm -fv {} \; + @rm -fv *.rpm + + +pychecker:: + @$(PYCHECKER) $(PYFILES) || exit 0 + +pyflakes:: + @$(PYFLAKES) $(PYFILES) || exit 0 + |
