diff options
author | Jim Meyering <meyering@redhat.com> | 2008-05-27 22:37:08 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-05-28 00:03:40 +0200 |
commit | f96625f99593a5d6477915cccc2f1e5268541563 (patch) | |
tree | f53e32813eb11b07704e6c4a5b6c6d237ede0d8a /src/lid-lid.c | |
parent | 3719e8d5de121e950a285825bb702564c2853ff1 (diff) | |
download | idutils-f96625f99593a5d6477915cccc2f1e5268541563.tar.gz idutils-f96625f99593a5d6477915cccc2f1e5268541563.tar.bz2 idutils-f96625f99593a5d6477915cccc2f1e5268541563.zip |
build aid, eid, and gid as binaries (were scripts)
* src/lid.c: Include "lid.h".
(main): Set defaults based on new global, lid_mode.
* src/Makefile.am (bin_PROGRAMS): Add aid, eid, gid.
(dist_bin_SCRIPTS): Remove them from this list.
(noinst_HEADERS, aid_SOURCES, eid_SOURCES): Define.
(gid_SOURCES, lid_SOURCES): Define.
* src/aid, src/eid, src/gid: Remove scripts.
* src/lid-aid.c, src/lid-eid.c, src/lid-gid.c, src/lid-lid.c:
* src/lid.h: New files.
* man/Makefile.am (aid.1, eid.1, gid.1): Adjust dependencies.
* .gitignore: Add src/aid, src/eid, src/gid.
Diffstat (limited to 'src/lid-lid.c')
-rw-r--r-- | src/lid-lid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lid-lid.c b/src/lid-lid.c new file mode 100644 index 0000000..bb7b08d --- /dev/null +++ b/src/lid-lid.c @@ -0,0 +1,2 @@ +#include "lid.h" +enum lid_mode lid_mode = LID_MODE_LID; |