aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/Makefile
blob: 47425e4b31c237084244234273bed28c2035eca5 (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
REP= lcd4linux drivers plugins

default: makefiles html
	true

makefiles: 
	@for i in $(REP) ; do \
  		(cd $$i && ln -sf ../Makefile.generic Makefile) ; \
	done

cleanmakefiles:
	@for i in $(REP) ; do \
 		rm -f $$i/Makefile ; \
	done

totalclean:
	@for i in $(REP) ; do \
		(cd $$i && make clean ; rm Makefile) ; \
	done
	rm -rf HTML

#catalog: catalogue.xml xsl/catalogue.xsl
#	test -d catalog || mkdir catalog
#	xsltproc --param dir \'$(PWD)\' \
#		 --param odir \'$(PWD)/catalog\' \
#	    xsl/catalogue.xsl catalogue.xml >catalog/index.html
#	cp charte/default/default.css catalog/

%:
	@for i in $(REP) ; do \
		(cd $$i && make $@) ; \
	done