summaryrefslogtreecommitdiff
path: root/Makefile
blob: b813c7929aafbe618cb02f5b4f69e08aa2c2f7c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SUBDIRS = \
	About_Kolab_Groupware \
	Administrator_Guide \
	Architecture_and_Design \
	Deployment_Guide \
	Development_Manual \
	Installation_Guide \
	Release_Notes \
	Testing_Reference

all:
	@for dir in $(SUBDIRS); do \
		cp -a Common_Content/en-US/*.xml $$dir/en-US/.; \
		make -C $$dir; \
	done

site: all
	# Do not synchronize ownership, times or permissions!
	@rsync -rlHvz --progress --delete site/ docs.kolab.org:/var/www/kolab.org/docs/public_html/

upload: all
	@for dir in $(SUBDIRS); do \
		make -C $$dir upload; \
	done