| 
				
			 | 
			
			
				@@ -17,8 +17,7 @@ _build1() { 
			 | 
		
	
		
			
			| 
				17
			 | 
			
				17
			 | 
			
			
				     test -n "$ftype"    || ftype=$(_guess_ftype "$dstpath") 
			 | 
		
	
		
			
			| 
				18
			 | 
			
				18
			 | 
			
			
				     debug_var srcpath dstpath ftype 
			 | 
		
	
		
			
			| 
				19
			 | 
			
				19
			 | 
			
			
				     <"$srcpath" _build1_ftype "$ftype" >"$dstpath" 
			 | 
		
	
		
			
			| 
				20
			 | 
			
				
			 | 
			
			
				-    mkdir -p "$MKIT_LOCAL" 
			 | 
		
	
		
			
			| 
				21
			 | 
			
				
			 | 
			
			
				-    echo "$dstpath" >> "$MKIT_LOCAL/built.lst" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				20
			 | 
			
			
				+    rec_built "$dstpath" 
			 | 
		
	
		
			
			| 
				22
			 | 
			
				21
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				23
			 | 
			
				22
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				24
			 | 
			
				23
			 | 
			
			
				 _build1_ftype() { 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -120,7 +119,8 @@ build() { 
			 | 
		
	
		
			
			| 
				120
			 | 
			
				119
			 | 
			
			
				     # Add meat to all skeletons 
			 | 
		
	
		
			
			| 
				121
			 | 
			
				120
			 | 
			
			
				     # 
			 | 
		
	
		
			
			| 
				122
			 | 
			
				121
			 | 
			
			
				     local srcpath   # each source path 
			 | 
		
	
		
			
			| 
				123
			 | 
			
				
			 | 
			
			
				-    find -type f -name '*.skel' \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				122
			 | 
			
			
				+    semver >/dev/null 
			 | 
		
	
		
			
			| 
				
			 | 
			
				123
			 | 
			
			
				+    find . -type f -name '*.skel' \ 
			 | 
		
	
		
			
			| 
				124
			 | 
			
				124
			 | 
			
			
				      | while read -r srcpath; do 
			 | 
		
	
		
			
			| 
				125
			 | 
			
				125
			 | 
			
			
				            _build1 "$srcpath" 
			 | 
		
	
		
			
			| 
				126
			 | 
			
				126
			 | 
			
			
				        done 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -137,8 +137,7 @@ build_manpages() { 
			 | 
		
	
		
			
			| 
				137
			 | 
			
				137
			 | 
			
			
				           | while read -r manfile; do 
			 | 
		
	
		
			
			| 
				138
			 | 
			
				138
			 | 
			
			
				                 mdfile="$manfile.md" 
			 | 
		
	
		
			
			| 
				139
			 | 
			
				139
			 | 
			
			
				                 ronn -r "$mdfile" 
			 | 
		
	
		
			
			| 
				140
			 | 
			
				
			 | 
			
			
				-                mkdir -p "$MKIT_LOCAL" 
			 | 
		
	
		
			
			| 
				141
			 | 
			
				
			 | 
			
			
				-                echo "$manfile" >> "$MKIT_LOCAL/built.lst" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				140
			 | 
			
			
				+                rec_built "$manfile" 
			 | 
		
	
		
			
			| 
				142
			 | 
			
				141
			 | 
			
			
				             done 
			 | 
		
	
		
			
			| 
				143
			 | 
			
				142
			 | 
			
			
				     else 
			 | 
		
	
		
			
			| 
				144
			 | 
			
				143
			 | 
			
			
				         echo "ronn is not installed" 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -174,7 +173,7 @@ debstuff() { 
			 | 
		
	
		
			
			| 
				174
			 | 
			
				173
			 | 
			
			
				     mv "${MKIT_PROJ_PKGNAME}-$version.tar.gz" \ 
			 | 
		
	
		
			
			| 
				175
			 | 
			
				174
			 | 
			
			
				        "${MKIT_PROJ_PKGNAME}_$version.orig.tar.gz" \ 
			 | 
		
	
		
			
			| 
				176
			 | 
			
				175
			 | 
			
			
				      || die "could not rename tarball" 
			 | 
		
	
		
			
			| 
				177
			 | 
			
				
			 | 
			
			
				-    echo "${MKIT_PROJ_PKGNAME}_$version.orig.tar.gz" >> "$MKIT_LOCAL/built.lst" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				176
			 | 
			
			
				+    rec_built "${MKIT_PROJ_PKGNAME}_$version.orig.tar.gz" 
			 | 
		
	
		
			
			| 
				178
			 | 
			
				177
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				179
			 | 
			
				178
			 | 
			
			
				     # read content of each mandatory file from debian_skel 
			 | 
		
	
		
			
			| 
				180
			 | 
			
				179
			 | 
			
			
				     # 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -188,7 +187,7 @@ debstuff() { 
			 | 
		
	
		
			
			| 
				188
			 | 
			
				187
			 | 
			
			
				             mkdir -p "$(dirname "$dftgt")" 
			 | 
		
	
		
			
			| 
				189
			 | 
			
				188
			 | 
			
			
				             _build1 "$dfsrc" "$dftgt" debstuff 
			 | 
		
	
		
			
			| 
				190
			 | 
			
				189
			 | 
			
			
				         done 
			 | 
		
	
		
			
			| 
				191
			 | 
			
				
			 | 
			
			
				-    echo debian >> "$MKIT_LOCAL/built.lst" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				190
			 | 
			
			
				+    rec_built debian 
			 | 
		
	
		
			
			| 
				192
			 | 
			
				191
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				193
			 | 
			
				192
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				194
			 | 
			
				193
			 | 
			
			
				 dist() { 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -211,8 +210,7 @@ dist() { 
			 | 
		
	
		
			
			| 
				211
			 | 
			
				210
			 | 
			
			
				     echo -n "$git_lasthash" > "$dirname/.mkit/git_lasthash" 
			 | 
		
	
		
			
			| 
				212
			 | 
			
				211
			 | 
			
			
				     tar -cf "$dirname.tar" "$dirname" 
			 | 
		
	
		
			
			| 
				213
			 | 
			
				212
			 | 
			
			
				     gzip -f "$dirname.tar"      # see above FIXME 
			 | 
		
	
		
			
			| 
				214
			 | 
			
				
			 | 
			
			
				-    mkdir -p "$MKIT_LOCAL" 
			 | 
		
	
		
			
			| 
				215
			 | 
			
				
			 | 
			
			
				-    echo "$dirname.tar.gz" >> "$MKIT_LOCAL/built.lst" 
			 | 
		
	
		
			
			| 
				
			 | 
			
				213
			 | 
			
			
				+    rec_built "$dirname.tar.gz" 
			 | 
		
	
		
			
			| 
				216
			 | 
			
				214
			 | 
			
			
				     rm -rf "$dirname" 
			 | 
		
	
		
			
			| 
				217
			 | 
			
				215
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				218
			 | 
			
				216
			 | 
			
			
				  
			 |