Added rule to package the guide in tgz
author"German Poo-Caaman~o <gpoo@gnome.org>"
Fri, 29 Feb 2008 12:09:47 -0300
changeset 8 430634105212
parent 7 00ea2985a116
child 9 d31ab62a5e24
Added rule to package the guide in tgz
Makefile
--- a/Makefile	Fri Feb 29 12:05:33 2008 -0300
+++ b/Makefile	Fri Feb 29 12:09:47 2008 -0300
@@ -8,14 +8,17 @@
 all: articulo
 
 articulo: $(SGML_FILES)
-	 xsltproc --stringparam gtkdoc.bookname $(PACKAGE) \
-	          --stringparam html.stylesheet $(PACKAGE).css \
-	          --output $(OUTPUT_DIR)/index.html \
-	          $(STYLESHEET) \
-	          programming-guidelines.xml
+	xsltproc --stringparam gtkdoc.bookname $(PACKAGE) \
+	         --stringparam html.stylesheet $(PACKAGE).css \
+	         --output $(OUTPUT_DIR)/index.html \
+	         $(STYLESHEET) \
+	         programming-guidelines.xml
 	cp -a stylesheets/*.png $(OUTPUT_DIR)
 	cp -a stylesheets/$(PACKAGE).css $(OUTPUT_DIR)
 
+tgz: articulo
+	tar zcvf programming-guidelines.tar.gz programming-guidelines
+
 clean: 
 	rm -rf programming-guidelines/*
 	rmdir programming-guidelines