equal
deleted
inserted
replaced
1 TOP=$(shell pwd) |
1 TOP=$(shell pwd) |
2 PACKAGE=nargir |
2 PACKAGE=nargir |
3 MAIN_FILE=$(PACKAGE).xml |
3 MAIN_FILE=$(PACKAGE).xml |
4 DEPENDS=nargir.xml \ |
4 DEPENDS=nargir.xml \ |
5 preface.xml \ |
5 preface.xml \ |
6 7dragons.xml \ |
6 7dragons.xml \ |
7 bete.xml \ |
7 bete.xml \ |
8 gardien.xml \ |
8 gardien.xml \ |
9 genese.xml |
9 genese.xml |
10 DEPENDS:=$(addprefix book1/,$(DEPENDS)) |
10 DEPENDS:=$(addprefix book1/,$(DEPENDS)) |
11 SGML_CATALOG_FILES=/etc/sgml/catalog |
11 SGML_CATALOG_FILES=/etc/sgml/catalog |
12 OUTPUT=$(addprefix $(PACKAGE),.html .pdf .txt) $(PACKAGE) |
12 OUTPUT=$(addprefix $(PACKAGE),.html .pdf .txt) $(PACKAGE) |
13 INSTALL_DIR=$(TOP)/install |
13 INSTALL_DIR=$(TOP)/install |
15 all: $(OUTPUT) |
15 all: $(OUTPUT) |
16 |
16 |
17 install: all |
17 install: all |
18 mkdir -p $(INSTALL_DIR) |
18 mkdir -p $(INSTALL_DIR) |
19 cp -a $(OUTPUT) $(INSTALL_DIR) |
19 cp -a $(OUTPUT) $(INSTALL_DIR) |
|
20 |
|
21 validate: |
|
22 xmllint --xinclude --noout --postvalid $(MAIN_FILE) |
20 |
23 |
21 $(PACKAGE): $(PACKAGE)/index.html |
24 $(PACKAGE): $(PACKAGE)/index.html |
22 |
25 |
23 $(PACKAGE).fo: $(DEPENDS) |
26 $(PACKAGE).fo: $(DEPENDS) |
24 $(PACKAGE).html: $(DEPENDS) |
27 $(PACKAGE).html: $(DEPENDS) |