summaryrefslogtreecommitdiff
path: root/Makefile
blob: 613c492abbdf39dbd046f1124e39985a84de199e (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
26
27
28
29
30
31
32
33
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

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

site: all
	@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

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