]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Rewrite make_h_tree.pl in shell script
authorAndrew Deason <adeason@sinenomine.net>
Fri, 24 Feb 2012 00:28:21 +0000 (18:28 -0600)
committerDerrick Brashear <shadow@dementix.org>
Sat, 25 Feb 2012 13:10:32 +0000 (05:10 -0800)
commit344f7fc6087d1ecf0a76be300700b72122d14467
treec61b3eb45f6d72adae966f318ecceba55d1e7e17
parentbea2a94610335939d6ef869489ce5bd19d1a11da
Rewrite make_h_tree.pl in shell script

The current usage of make_h_tree.pl adds a build requirement of
/usr/bin/perl that we did not have prior to commit
1d6593e952ce82c778b1cd6e40c6e22ec756daf1. Do the same thing in a
bourne shell script instead, so we don't need perl.

Note that this is not as generalized as make_h_tree.pl, but it doesn't
need to be. Specifically, this does not strip a leading ../ from found
include directives (nothing in the tree that includes h/* files uses
this), and header filenames containing whitespace almost certainly do
not work correctly.

The h => sys mapping is also much more hardcoded, but that's all we
were using this for anyway.

Reviewed-on: http://gerrit.openafs.org/6790
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit fb03b1380f82a6bdc8a78ad92069da38b4e98c26)

Change-Id: If6bfedea0b563dce6135fbf2f4554ee602ee822c
Reviewed-on: http://gerrit.openafs.org/6793
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/libuafs/Makefile.common.in
src/libuafs/make_h_tree [new file with mode: 0755]
src/libuafs/make_h_tree.pl [deleted file]