diff options
Diffstat (limited to 'scripts/setup.mk')
-rw-r--r-- | scripts/setup.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/setup.mk b/scripts/setup.mk new file mode 100644 index 0000000..74d088e --- /dev/null +++ b/scripts/setup.mk @@ -0,0 +1,21 @@ +# Make-file for quips.pro to delegate to as: +# make SRC=$$PWD setup +default: setup +WEB = $(SRC)/planetqt/website + +html: + mkdir -p html + +WEBDIRS = images +$(WEBDIRS:%=html/%): html/%: html + [ -d $@ ] || ln -sf $(WEB)/images $(@D) + +WEBFILES = favicon.ico \ + online.css style.css \ + main.js extras.js modernizr.custom.84855.js \ + cookie_small.png cookiebar-x.png list_arrow.png theqtcompany.png +$(WEBFILES:%=html/%): html/%: html + [ -f $@ ] || ln -sf $(WEB)/$(@F) $(@D) + +setup: $(WEBFILES:%=html/%) $(WEBDIRS:%=html/%) + touch html/.ready |