diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-14 17:50:03 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-14 17:50:03 +0200 |
| commit | 6ec996fb7fce8c31c92d1566bfce8a46c0e0da36 (patch) | |
| tree | 8df29601098eee187bf51c505d184970f3dcdbf5 /Makefile | |
| parent | 52a66a503d77c150b6a778305e5569517fe88c29 (diff) | |
add profiling target
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,9 @@ NAME=loadbars all: version documentation perltidy version: cut -d' ' -f2 debian/changelog | head -n 1 | sed 's/(//;s/)//' > .version +profile: + perl -d:NYTProf loadbars --hosts localhost + nytprofhtml nytprof.out perltidy: find . -name \*.pm | xargs perltidy -b perltidy -b $(NAME) @@ -22,6 +25,9 @@ deinstall: test ! -z "$(DESTDIR)/usr/share/$(NAME)" && -d $(DESTDIR)/usr/share/$(NAME) && rm -r $(DESTDIR)/usr/share/$(NAME) || exit 0 clean: test -f .version && rm .version + test -f nytprof.out && rm nytprof.out + test -f tmon.out && rm tmon.out + test -d nytprof && rm -Rf nytprof deb: dpkg-buildpackage clean-top: |
