forked from tuupola/lazyload
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
24 lines (18 loc) · 878 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
VERSION = 1.5.0
SHELL = /bin/sh
DOWNLOAD = /var/www/www.appelsiini.net/htdocs/download
JSPACKER = /home/tuupola/bin/jspacker
JSMIN = /home/tuupola/bin/jsmin
all: lazyload packed minified latest
lazyload: jquery.lazyload.js
cp jquery.lazyload.js $(DOWNLOAD)/jquery.lazyload-$(VERSION).js
packed: jquery.lazyload.js
$(JSPACKER) < jquery.lazyload.js > jquery.lazyload.pack.js
cp jquery.lazyload.pack.js $(DOWNLOAD)/jquery.lazyload-$(VERSION).pack.js
minified: jquery.lazyload.js
$(JSMIN) < jquery.lazyload.js > jquery.lazyload.mini.js
cp jquery.lazyload.mini.js $(DOWNLOAD)/jquery.lazyload-$(VERSION).mini.js
latest: jquery.lazyload.js jquery.lazyload.pack.js jquery.lazyload.mini.js
cp jquery.lazyload.js $(DOWNLOAD)/jquery.lazyload.js
cp jquery.lazyload.pack.js $(DOWNLOAD)/jquery.lazyload.pack.js
cp jquery.lazyload.mini.js $(DOWNLOAD)/jquery.lazyload.mini.js