Skip to content
Browse files

- Makefile: make distclean is now quiet as it should be

- README: added a note on tmp/missing file
- bin/refs-autogen: ignore CVS directories
  • Loading branch information...
1 parent 74c484f commit c8b5f11bf4469e33d8363f4e609e5d8482f0e97e @docelic docelic committed
Showing with 10 additions and 4 deletions.
  1. +1 −1 Makefile
  2. +6 −0 README
  3. +3 −3 bin/refs-autogen
View
2 Makefile
@@ -113,7 +113,7 @@ clean:
distclean: clean
-rm -rf $(LTMPDIR)
-rm -rf refs/*.xml
- -for p in $(IC_VERSIONS); do rm cache/$$p/*; done
+ -for p in $(IC_VERSIONS); do rm cache/$$p/* 2>/dev/null; done
# OLD
View
6 README
@@ -176,6 +176,12 @@ DEVELOPMENT NOTES
** technical information), and then write the item documentation that
** includes all that information.
+** After you build the documentation, there will be a file named
+** tmp/missing autogenerated, and it will contain a list of symbols with all
+** the parts of the documentation they still miss for the item to be
+** considered complete. Clearing out this list is a priority;
+** given that the new system is so convenient and cool, you have no excuse ;-)
+
Davor Ocelic, docelic@icdevgroup.org
View
6 bin/refs-autogen
@@ -129,7 +129,7 @@ while ( $path = shift @paths) {
if ( ! $ag{$field} ) {
if ( grep {/$field/} @mandatory) {
push @{ $invalid{$k} },
- "Missing field '$field', using default";
+ "Missing field '$field', using unsuitable default";
}
$ag{$field} = $defaults{$field};
}
@@ -264,11 +264,11 @@ sub populate {
# From other file sets
} elsif (! length $file) { # all files
opendir INDIR, "refs/$name/" or do {
- push @{ $invalid{$name} }, "Missing directory";
+ push @{ $invalid{$name} }, "Missing directory (all other errors follow from this)";
return;
};
while (my $fn = readdir INDIR) {
- next if $fn =~ /^\./;
+ next if $fn =~ /^\.|^CVS$/;
next if $fn eq 'control';
open INF, "< refs/$name/$fn" or
die "Can't open refs/$name/$fn ($!)\n";

0 comments on commit c8b5f11

Please sign in to comment.
Something went wrong with that request. Please try again.