From: Michael Orlitzky Date: Tue, 18 Dec 2012 06:11:07 +0000 (-0500) Subject: Update the install docs and usage info in the README. X-Git-Tag: v0.0.2~2 X-Git-Url: https://gitweb.michael.orlitzky.com/?p=apply-default-acl.git;a=commitdiff_plain;h=f15d645e56167afc4490e5735c999705456a66ec Update the install docs and usage info in the README. Add the docs and test script to EXTRA_DIST. Fix the binary path in the test script. --- diff --git a/Makefile.am b/Makefile.am index af437a6..cf530a0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,2 @@ SUBDIRS = src +EXTRA_DIST = doc run-tests.sh diff --git a/doc/README b/doc/README index 15073de..0fc0c5f 100644 --- a/doc/README +++ b/doc/README @@ -16,12 +16,21 @@ least until I decide to replace acl_get_perm with something portable 3. Installation -Run `make` and put the resulting binary somewhere in your $PATH. +It's using GNU Autotools, so run `./configure && make` and maybe `make +install` if you think it's going to wind up in the right +place. Otherwise you can just take the binary out of the 'src' +directory and put it somewhere in your $PATH. 4. Usage -reapply_default_acl /path/to/whatever +Basic usage: + + $ reapply_default_acl /path/to/whatever + +Work recursively (from the top down): + + reapply_default_acl --recursive /path/to/whatever 5. How to report bugs @@ -33,3 +42,4 @@ Email them to me at michael@orlitzky.com. [1] http://michael.orlitzky.com/articles/problems_with_posix_acls_and_common_utilities.php [2] http://savannah.nongnu.org/projects/acl + diff --git a/run-tests.sh b/run-tests.sh index 7b44550..97cd281 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -1,7 +1,7 @@ #!/bin/bash # The program name. -BIN=./reapply_default_acl +BIN=./src/reapply_default_acl # The directory where we'll do all the ACL manipulation. TESTDIR=test