Convert the build process from CVS to git
Detect .git instead of CVS. Use git-ls-files with git, else $(srcdir)/sources.mk. info/findsubj.pl now gets the info files as arguments rather than from sources.mk. Remaking info subjects doesn't quite work, but it was broken similarly before.
This commit is contained in:
parent
544612ed8c
commit
35db407da0
5 changed files with 35 additions and 50 deletions
|
@ -33,6 +33,7 @@
|
|||
# Markus Armbruster, 2006
|
||||
#
|
||||
|
||||
# Usage: findsubj.pl INFO-FILE...
|
||||
# Run it at the root of the build tree. This updates the make include
|
||||
# file subjects.mk, which guides the remaking of info index files.
|
||||
#
|
||||
|
@ -68,12 +69,10 @@ our ($filename, %subjfil);
|
|||
our @Subjects = split(' ', read_make_var("subjects", "subjects.mk", ""));
|
||||
# Get source directory
|
||||
my $srcdir = read_make_var("srcdir", "GNUmakefile");
|
||||
# Get info sources
|
||||
my @tsrc = grep(/\.t$/, split(' ' , read_make_var("src", "sources.mk")));
|
||||
|
||||
# Parse the .t files
|
||||
for my $t (@tsrc) {
|
||||
parse_file("$srcdir/$t");
|
||||
for my $f (@ARGV) {
|
||||
parse_file("$f");
|
||||
}
|
||||
|
||||
# Create %subjfil from %see_also
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue