diff options
author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2020-10-06 10:54:26 -0400 |
---|---|---|
committer | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2020-10-06 10:54:26 -0400 |
commit | fe67095963a162ff7e24680936fb7cf1cb730bbb (patch) | |
tree | 0996b349f06b245eb6b6d2222334f11313695611 /src | |
parent | 3ff994d251e440ca1cb0685196faeade606a6118 (diff) |
`make clean-deps` should also remove Scintillua, Scinterm, and gtDialog zips.
Otherwise, `make deps` and `make deps NIGHTLY=1` may not download the right
ones.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index ccd99a07..12e653b0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -393,6 +393,8 @@ pdcurses_zip = PDCurses-3.9.zip gtkosx_tgz = gtkosx-2.24.31.tar.gz cloc = cloc-1.60.pl +LexLPeg = LexLPeg.cxx LexLPeg.h + $(scintilla_tgz): ; $(WGET) https://www.scintilla.org/$@ scintilla: scintilla.patch | $(scintilla_tgz) if [ -d $@/.hg ]; then \ @@ -406,9 +408,9 @@ $(scinterm_zip): ; $(WGET) $(scinterm_url) -O $@ scinterm: scintilla/curses scintilla/curses: | $(scinterm_zip) ; unzip -d $@ -j $| "*/*.cxx" "*/*.h" $(scintillua_zip): ; $(WGET) $(scintillua_url) -O $@ -scintillua: ../lexers LexLPeg.cxx +scintillua: ../lexers $(LexLPeg) ../lexers: | $(scintillua_zip) ; unzip -d $@ -j $| "*/lexers/*" -x "*/themes/*" -LexLPeg.cxx: | $(scintillua_zip) ; unzip -j $| "*/*.cxx" "*/*.h" +$(LexLPeg): | $(scintillua_zip) ; unzip -j $| "*/*.cxx" "*/*.h" $(lua_tgz): ; $(WGET) https://www.lua.org/ftp/$@ $(lpeg_tgz): ; $(WGET) http://www.inf.puc-rio.br/~roberto/lpeg/$@ $(lfs_zip): ; $(WGET) https://github.com/keplerproject/luafilesystem/archive/$@ @@ -454,8 +456,8 @@ gtkosx: | $(gtkosx_tgz) ; mkdir $@ && tar xzf $| -C $@ && mv $@/*/* $@ $(cloc): ; $(WGET) http://prdownloads.sourceforge.net/cloc/$@ clean-deps: - rm -rf scintilla ../lexers LexLPeg.cxx lua gtdialog cdk termkey win32gtk \ - win32curses gtkosx + rm -rf scintilla ../lexers $(LexLPeg) lua gtdialog cdk termkey win32gtk \ + win32curses gtkosx $(scinterm_zip) $(scintillua_zip) $(gtdialog_zip) # Count lines of code. |