]> git.michaelhowe.org Git - packages/o/openafs.git/commit
libuafs: only rebuild h directory when needed
authorMarc Dionne <marc.c.dionne@gmail.com>
Fri, 6 Jan 2012 22:22:35 +0000 (17:22 -0500)
committerDerrick Brashear <shadow@dementix.org>
Wed, 11 Jan 2012 21:12:28 +0000 (13:12 -0800)
commit57a45a64bb5b97c68de2d786b5803def24315f51
tree9559629be7294913ad8a7406bf76607e060bf7df
parent3d4c44b61d035f9249a341d29cd93948f3ea3ec3
libuafs: only rebuild h directory when needed

A few changes to allow a "make all ; sudo make install ; make all..."
workflow to work without manually removing files in between.

Make the rebuilding of the h directory dependent on the source
files scanned to build it.  This prevents it from being rebuilt
for every "make install".

While we're here, use -f when removing linktest for the clean target.
This allows "make clean" to remove it without prompting when the user
doesn't have write access to the file, as is the case when make install
rebuilds it as root.

Reviewed-on: http://gerrit.openafs.org/6519
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 2caf0778ddeb6eeb854360cac20c6b3f0894f3eb)

Change-Id: Id4ccad953669538072b834a6aa49b8beaeeeed35
Reviewed-on: http://gerrit.openafs.org/6526
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/libuafs/Makefile.common.in