Makefile
author "German Poo-Caaman~o <gpoo@gnome.org>"
Fri, 29 Feb 2008 12:31:14 -0300
changeset 9 d31ab62a5e24
parent 8 430634105212
permissions -rw-r--r--
Set the chunk output encoding to UTF-8. Fixed the output.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     1
PACKAGE = programming-guidelines
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     2
STYLESHEET = stylesheets/librognome-html.xsl
5
4ca4c0227161 2006-09-11 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents: 2
diff changeset
     3
OUTPUT_DIR = $(PACKAGE)
0
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     4
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     5
SGML_FILES = \
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     6
	programming-guidelines.xml
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     7
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     8
all: articulo
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
     9
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    10
articulo: $(SGML_FILES)
8
430634105212 Added rule to package the guide in tgz
"German Poo-Caaman~o <gpoo@gnome.org>"
parents: 5
diff changeset
    11
	xsltproc --stringparam gtkdoc.bookname $(PACKAGE) \
430634105212 Added rule to package the guide in tgz
"German Poo-Caaman~o <gpoo@gnome.org>"
parents: 5
diff changeset
    12
	         --stringparam html.stylesheet $(PACKAGE).css \
430634105212 Added rule to package the guide in tgz
"German Poo-Caaman~o <gpoo@gnome.org>"
parents: 5
diff changeset
    13
	         --output $(OUTPUT_DIR)/index.html \
430634105212 Added rule to package the guide in tgz
"German Poo-Caaman~o <gpoo@gnome.org>"
parents: 5
diff changeset
    14
	         $(STYLESHEET) \
430634105212 Added rule to package the guide in tgz
"German Poo-Caaman~o <gpoo@gnome.org>"
parents: 5
diff changeset
    15
	         programming-guidelines.xml
5
4ca4c0227161 2006-09-11 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents: 2
diff changeset
    16
	cp -a stylesheets/*.png $(OUTPUT_DIR)
4ca4c0227161 2006-09-11 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents: 2
diff changeset
    17
	cp -a stylesheets/$(PACKAGE).css $(OUTPUT_DIR)
0
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    18
8
430634105212 Added rule to package the guide in tgz
"German Poo-Caaman~o <gpoo@gnome.org>"
parents: 5
diff changeset
    19
tgz: articulo
430634105212 Added rule to package the guide in tgz
"German Poo-Caaman~o <gpoo@gnome.org>"
parents: 5
diff changeset
    20
	tar zcvf programming-guidelines.tar.gz programming-guidelines
430634105212 Added rule to package the guide in tgz
"German Poo-Caaman~o <gpoo@gnome.org>"
parents: 5
diff changeset
    21
0
7e52f5046fb6 2006-09-07 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents:
diff changeset
    22
clean: 
2
a11aa511a545 2006-09-08 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents: 0
diff changeset
    23
	rm -rf programming-guidelines/*
a11aa511a545 2006-09-08 German Poo-Caaman~o <gpoo@ubiobio.cl>
"German Poo-Caaman~o <gpoo@ubiobio.cl>"
parents: 0
diff changeset
    24
	rmdir programming-guidelines