1# Makefile for DokuWiki Template Arctic
2#
3# @author Michael Klier <chi@chimeric.de>
4
5DIST_VERSION=`cat VERSION`
6DIST_NAME=template-arctic-$(DIST_VERSION)
7DIST_DIR=../arctic
8
9# {{{ DOCS
10DOCS=$(DIST_DIR)/README \
11	 $(DIST_DIR)/COPYING \
12	 $(DIST_DIR)/VERSION
13# }}}
14
15# {{{ CSS
16CSS=$(DIST_DIR)/arctic_design.css \
17	$(DIST_DIR)/arctic_layout.css \
18	$(DIST_DIR)/arctic_media.css \
19	$(DIST_DIR)/arctic_print.css \
20	$(DIST_DIR)/arctic_rtl.css\
21	$(DIST_DIR)/design.css \
22	$(DIST_DIR)/layout.css \
23	$(DIST_DIR)/media.css \
24	$(DIST_DIR)/print.css \
25	$(DIST_DIR)/rtl.css
26# }}}
27
28# {{{ STYLE_INI
29STYLE_INI=$(DIST_DIR)/style.ini \
30		  $(DIST_DIR)/style.ini.dist
31# }}}
32
33# {{{ PHP
34PHP=$(DIST_DIR)/detail.php \
35	$(DIST_DIR)/main.php \
36	$(DIST_DIR)/mediamanager.php \
37	$(DIST_DIR)/tpl_functions.php
38# }}}
39
40# {{{ HTML
41HTML=$(DIST_DIR)/footer.html \
42	 $(DIST_DIR)/left_sidebar.html \
43	 $(DIST_DIR)/right_sidebar.html
44# }}}
45
46# {{{ SCRIPT
47SCRIPT=$(DIST_DIR)/script.js
48# }}}
49
50# {{{ IMAGES
51IMAGES=$(DIST_DIR)/images/bullet.gif \
52	   $(DIST_DIR)/images/button-apache.png \
53	   $(DIST_DIR)/images/button-as.gif \
54	   $(DIST_DIR)/images/button-bash.png \
55	   $(DIST_DIR)/images/button-cc.gif \
56	   $(DIST_DIR)/images/button-chimeric-de.png \
57	   $(DIST_DIR)/images/button-css.png \
58	   $(DIST_DIR)/images/button-debian.png \
59	   $(DIST_DIR)/images/button-donate.gif \
60	   $(DIST_DIR)/images/button-dw.png \
61	   $(DIST_DIR)/images/button-email.png \
62	   $(DIST_DIR)/images/button-firefox.png \
63	   $(DIST_DIR)/images/button-gimp.png \
64	   $(DIST_DIR)/images/button-gpg.gif \
65	   $(DIST_DIR)/images/button-icq.gif \
66	   $(DIST_DIR)/images/button-php.gif \
67	   $(DIST_DIR)/images/button-rss.png \
68	   $(DIST_DIR)/images/buttonshadow.png \
69	   $(DIST_DIR)/images/button-vim.png \
70	   $(DIST_DIR)/images/button-xhtml.png \
71	   $(DIST_DIR)/images/closed.gif \
72	   $(DIST_DIR)/images/favicon.ico \
73	   $(DIST_DIR)/images/inputshadow.png \
74	   $(DIST_DIR)/images/interwiki.png \
75	   $(DIST_DIR)/images/link_icon.gif \
76	   $(DIST_DIR)/images/mail_icon.gif \
77	   $(DIST_DIR)/images/open.gif \
78	   $(DIST_DIR)/images/tocdot2.gif \
79	   $(DIST_DIR)/images/tool-admin.png \
80	   $(DIST_DIR)/images/tool-backlink.png \
81	   $(DIST_DIR)/images/tool-edit.png \
82	   $(DIST_DIR)/images/tool-index.png \
83	   $(DIST_DIR)/images/tool-login.png \
84	   $(DIST_DIR)/images/tool-logout.png \
85	   $(DIST_DIR)/images/tool-profile.png \
86	   $(DIST_DIR)/images/tool-recent.png \
87	   $(DIST_DIR)/images/tool-revisions.png \
88	   $(DIST_DIR)/images/tool-source.png \
89	   $(DIST_DIR)/images/tool-subscribe.png \
90	   $(DIST_DIR)/images/tool-top.png \
91	   $(DIST_DIR)/images/urlextern.png \
92	   $(DIST_DIR)/images/windows.gif
93# }}}
94
95# {{{ LANG
96LANG=$(DIST_DIR)/lang/de/settings.php \
97     $(DIST_DIR)/lang/cs/settings.php \
98     $(DIST_DIR)/lang/en/settings.php \
99     $(DIST_DIR)/lang/eo/settings.php \
100     $(DIST_DIR)/lang/es/settings.php \
101     $(DIST_DIR)/lang/fr/settings.php \
102     $(DIST_DIR)/lang/it/settings.php \
103     $(DIST_DIR)/lang/pl/settings.php \
104     $(DIST_DIR)/lang/pt/settings.php \
105     $(DIST_DIR)/lang/ru/settings.php
106# }}}
107
108# {{{ CONF
109CONF=$(DIST_DIR)/conf/default.php \
110	 $(DIST_DIR)/conf/metadata.php
111# }}}
112
113DIST_FILES= $(DOCS) $(CSS) $(HTML) $(SCRIPT) $(PHP) $(STYLE_INI) $(IMAGES) $(LANG) $(CONF)
114
115dist:
116	tar czf $(DIST_NAME).tgz $(DIST_FILES)
117
118clean:
119	rm $(DIST_NAME).tgz
120
121# vim:ts=4:sw=4:fdm=marker:
122