4 ms·
This tutorial is awful. You should read the manual, which is shorter than that page! make is NOT: alias: commands this will bite you when you le
by profeta 10y ago
This tutorial is awful.
You should read the manual, which is shorter than that page!
make is NOT:
alias:
commands
this will bite you when you least expect. Make is:
targetfile: inputfiles
commands to get targetfile to exist
and you can use things like
%.css_min: %.css
sass stuff
.PHONY: release
# above is needed otherwise you won't build if there is a release/ dir
release: release-min.css
release-min.css: (list *.css_min files, there are helpers for it)
cat *.css_min > release-min.css
anyway. you get the idea. work with files and why you need those files.
- mercurysmessage 10y agoYea, you can just do what he is doing using shell scripts anyway. I don't see why you'd use make for it.