Permalink
Browse files

Minor Makefile cleanup

  • Loading branch information...
andreas-gruenbacher committed Jan 27, 2018
1 parent c411f34 commit 9936f46b5ca6f7a71cc72fdb4dcf7bc3ae8f8332
Showing with 6 additions and 9 deletions.
  1. +5 −8 Makefile
  2. +1 −1 README
@@ -4,7 +4,7 @@ MAKEFLAGS = --no-print-directory

CURL = curl
SED = sed
MARKOC = node_modules/marko/bin/markoc
MARKOC = backend/node_modules/marko/bin/markoc

# AngularJS
ANGULAR_BASE=https://code.angularjs.org/
@@ -27,16 +27,13 @@ TAG = $(shell git describe --tags --candidates=0 ${1:-HEAD} 2>/dev/null)

all: $(MARKO_FILES:%=%.js)

download: $(DOWNLOAD_FILES)

install: download
install: $(DOWNLOAD_FILES)
cd backend && npm install

$(MARKO_FILES:%=%.js): backend/$(MARKOC)
%.marko.js: %.marko
( cd backend && $(MARKOC) ../$< )
$(MARKO_FILES:%=%.js): $(MARKOC)

backend/$(MARKOC): install
%.marko.js: %.marko
cd backend && ../$(MARKOC) ../$<

start: $(MARKO_FILES:%=%.js)
cd backend && npm start
2 README
@@ -99,7 +99,7 @@ Herunterladen und erzeugen diverser Dateien

Um einige Dateien wie Angular.js herunterzuladen, wird Make verwendet:

$ make
$ make install


Backend konfigurieren

0 comments on commit 9936f46

Please sign in to comment.