summaryrefslogtreecommitdiff
path: root/sitestatic
diff options
context:
space:
mode:
Diffstat (limited to 'sitestatic')
-rw-r--r--sitestatic/Makefile24
-rw-r--r--sitestatic/archweb.js20
2 files changed, 44 insertions, 0 deletions
diff --git a/sitestatic/Makefile b/sitestatic/Makefile
new file mode 100644
index 00000000..e99e3c96
--- /dev/null
+++ b/sitestatic/Makefile
@@ -0,0 +1,24 @@
+include ../common.mk
+
+jquery-ver=1.8.3
+bootstrap-ver=2.1.1
+tablesorter-ver=2.7
+targets = \
+ bootstrap-typeahead \
+ jquery-$(jquery-ver) \
+ jquery.tablesorter-$(tablesorter-ver) \
+ konami
+
+target-files=$(addsuffix .js,$(targets)) $(addsuffix .min.js,$(targets))
+all: $(target-files)
+clean:
+ rm -f -- $(target-files)
+
+bootstrap-typeahead.js: %: $(www)/https/raw.github.com/twitter/bootstrap/v$(bootstrap-ver)/js/%
+ cp $< $@
+jquery-$(jquery-ver).js: %: $(www)/http/code.jquery.com/%
+ cp $< $@
+jquery.tablesorter-$(tablesorter-ver).js: $(www)/https/raw.github.com/Mottie/tablesorter/v$(tablesorter-ver)/js/jquery.tablesorter.js
+ cp $< $@
+konami.js: %: $(www)/https/raw.github.com/snaptortoise/konami-js/master/%
+ cp $< $@
diff --git a/sitestatic/archweb.js b/sitestatic/archweb.js
index 0c4059a9..43816c5b 100644
--- a/sitestatic/archweb.js
+++ b/sitestatic/archweb.js
@@ -1,3 +1,23 @@
+/* archweb.js
+ * Homepage: https://projects.archlinux.org/archweb.git/
+ * Copyright: 2007-2013 The Archweb Team
+ * License: GPLv2
+ *
+ * This file is part of Archweb.
+ *
+ * Archweb is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Archweb is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Archweb. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/*'use strict';*/
/* tablesorter custom parsers for various pages:
* devel/index.html, mirrors/status.html, todolists/view.html */