diff options
author | mitchell <none@none> | 2021-06-16 11:59:37 -0400 |
---|---|---|
committer | mitchell <none@none> | 2021-06-16 11:59:37 -0400 |
commit | 1f64b73d9e7febad263a119b6591b23cd7ff2717 (patch) | |
tree | bf687474c68f38118aec9034a0b94720b38d4c88 /src | |
parent | 4ed27351ca8ee78f39b5029fa8a4514d3dec9567 (diff) |
Updated to a more recent version of cloc for counting code.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index 84deadc2..29781b2b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -359,7 +359,7 @@ win32gtk_zip = win32gtk-2.24.32.zip win32curses_zip = win32curses39.zip pdcurses_zip = PDCurses-3.9.zip gtkosx_tgz = gtkosx-2.24.31.tar.gz -cloc = cloc-1.60.pl +cloc_zip = v1.90.zip LexLPeg = LexLPeg.cxx LexLPeg.h @@ -424,7 +424,8 @@ win32curses: pdcurses.patch | $(win32curses_zip) $(pdcurses_zip) cp $@/src/wincon/pdcurses.a $@/lib/ $(gtkosx_tgz): ; $(WGET) $(root_url)/textadept-build/raw/default/$@ gtkosx: | $(gtkosx_tgz) ; mkdir $@ && tar xzf $| -C $@ && mv $@/*/* $@ -$(cloc): ; $(WGET) http://prdownloads.sourceforge.net/cloc/$@ +$(cloc_zip): ; $(WGET) https://github.com/AlDanial/cloc/archive/refs/tags/$@ +cloc: | $(cloc_zip) ; unzip -j $| "*/$@" -x "*/Unix/$@" clean-deps: rm -rf scintilla ../lexers lexilla $(LexLPeg) lua gtdialog cdk termkey win32gtk win32curses \ @@ -434,5 +435,5 @@ clean-deps: sources = ../core ../modules/ansi_c ../modules/lua ../modules/textadept textadept.c Makefile \ ../init.lua -count: $(cloc) ; perl $< $(sources) --not-match-f=tadoc.lua +count: cloc ; perl $< $(sources) --not-match-f=tadoc.lua --exclude-lang=SVG plots: ; ../scripts/gen_plots.sh |