File: Makefile

package info (click to toggle)
mlpost 0.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,844 kB
  • sloc: ml: 21,094; javascript: 4,047; makefile: 430; ansic: 34; lisp: 19; sh: 15
file content (35 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (3)
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
34
35

WWW = /users/www-perso/projets/mlpost/

GENERATED := index.fr.html  index.en.html index.de.html \
	   manual.fr.html manual.en.html manual.de.html

ALL:= $(GENERATED) slides-jfla.pdf mlpost-jfla.pdf

install: all
	cp -f --parents $(ALL) $(WWW)

export: all
	scp $(ALL) filliatr@pl-ssh2.lri.fr:/users/www-perso/projets/mlpost/

all: $(ALL)

$(GENERATED): macros.prehtml version.prehtml

# RULES

YAMLPP=yamlpp macros.prehtml version.prehtml

.SUFFIXES: .html .prehtml .fr.html .en.html

%.fr.html: %.prehtml
	$(YAMLPP) -l fr $< -o $@

%.en.html: %.prehtml
	$(YAMLPP) -l en $< -o $@

%.de.html: %.prehtml
	$(YAMLPP) -l de $< -o $@

clean:
	rm -f $(GENERATED)