fix indentation in Makefile v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sun, 06 Oct 2019 09:28:14 +0200
branchv_0
changeset 54 9f5de01bfd30
parent 53 f62393f88eab
child 55 fe39d6940821
fix indentation in Makefile
Makefile
--- a/Makefile	Sat Oct 05 22:22:22 2019 +0200
+++ b/Makefile	Sun Oct 06 09:28:14 2019 +0200
@@ -49,19 +49,20 @@
 	scp license/*   globalcode.info:/var/www/sane-software.globalcode.info/license/
 
 
+# Described at: https://relational-pipes.globalcode.info/v_0/examples-in-xmltable-ssm-gui.xhtml
 build/statistics.rp: text/ssm.en.xml
 	mkdir -p build
 	cat text/ssm.en.xml \
-	    | relpipe-in-xmltable \
-		--namespace "m" "tag:globalcode.info,2019:sane-software/manifesto" \
-		--relation "chapter" \
-		    --records "//m:chapter" \
-		    --attribute "name" string "m:name" \
-		    --attribute "requirements" integer "count(descendant::m:item[m:type='requirement'])" \
-		    --attribute "recommendations" integer "count(descendant::m:item[m:type='recommendation'])" \
-		    --attribute "informations" integer "count(descendant::m:item[m:type='information'])" \
-		    --attribute "items_total" integer "count(descendant::m:item)" \
-	> build/statistics.rp
+		| relpipe-in-xmltable \
+			--namespace "m" "tag:globalcode.info,2019:sane-software/manifesto" \
+			--relation "chapter" \
+				--records "//m:chapter" \
+				--attribute "name" string "m:name" \
+				--attribute "requirements" integer "count(descendant::m:item[m:type='requirement'])" \
+				--attribute "recommendations" integer "count(descendant::m:item[m:type='recommendation'])" \
+				--attribute "informations" integer "count(descendant::m:item[m:type='information'])" \
+				--attribute "items_total" integer "count(descendant::m:item)" \
+		> build/statistics.rp
 
 # Prints a table with number of items in particular chapters:
 statistics: build/statistics.rp