Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0e00cb3 authored by Israel Yago Pereira's avatar Israel Yago Pereira
Browse files

Removed themes from makefile

parent df9451cd
Loading
Loading
Loading
Loading
+2 −14
Original line number Diff line number Diff line
@@ -117,18 +117,14 @@ node.clean:
	$(Q)rm -rf \
	  ./node_modules  \
	  ./package-lock.json \
	  ./searx/static/themes/oscar/package-lock.json \
	  ./searx/static/themes/oscar/node_modules \
	  ./searx/static/themes/simple/package-lock.json \
	  ./searx/static/themes/simple/node_modules \
	  ./searx/static/themes/etheme/package-lock.json \
	  ./searx/static/themes/etheme/node_modules

# build themes
# ------------

PHONY += themes themes.oscar themes.simple themes.etheme
themes: buildenv themes.oscar themes.simple themes.etheme
PHONY += themes themes.etheme
themes: buildenv themes.etheme

quiet_cmd_lessc = LESSC     $3
      cmd_lessc = PATH="$$(npm bin):$$PATH" \
@@ -138,14 +134,6 @@ quiet_cmd_grunt = GRUNT $2
      cmd_grunt = PATH="$$(npm bin):$$PATH" \
	grunt --gruntfile  "$2"

themes.oscar: node.env
	$(Q)echo '[!] build oscar theme'
	$(call cmd,grunt,searx/static/themes/oscar/gruntfile.js)

themes.simple: node.env
	$(Q)echo '[!] build simple theme'
	$(call cmd,grunt,searx/static/themes/simple/gruntfile.js)

themes.etheme: node.env
	$(Q)echo '[!] build etheme theme'
	$(call cmd,grunt,searx/static/themes/etheme/gruntfile.js)
+0 −8
Original line number Diff line number Diff line
@@ -90,14 +90,6 @@ npm_packages() {
    cd -- "$BASE_DIR"
    npm install less@2.7 less-plugin-clean-css grunt-cli

    echo '[!] install NPM packages for oscar theme'
    cd -- "$BASE_DIR/searx/static/themes/oscar"
    npm install

    echo '[!] install NPM packages for simple theme'
    cd -- "$BASE_DIR/searx/static/themes/simple"
    npm install

    echo '[!] install NPM packages for etheme theme'
    cd -- "$BASE_DIR/searx/static/themes/etheme"
    npm install