Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
EtherBone Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
EtherBone Core
Commits
7009642f
Commit
7009642f
authored
Apr 15, 2016
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: use docbook2man to build manpages from git, ship prebuilt manpages
parent
971cb033
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
1 deletion
+29
-1
Makefile.am
api/Makefile.am
+15
-1
configure.ac
api/configure.ac
+2
-0
etherbone-tools.install
api/debian/etherbone-tools.install
+1
-0
.gitignore
api/tools/.gitignore
+11
-0
No files found.
api/Makefile.am
View file @
7009642f
...
...
@@ -3,10 +3,12 @@ ACLOCAL_AMFLAGS = -I auto
include_HEADERS
=
etherbone.h
lib_LTLIBRARIES
=
libetherbone.la
bin_PROGRAMS
=
tools/eb-read tools/eb-write tools/eb-put tools/eb-get tools/eb-snoop tools/eb-ls tools/eb-find tools/eb-tunnel tools/eb-discover
EXTRA_PROGRAMS
=
test
/sizes
test
/loopback
test
/etherbonetest
pkg_DATA
=
etherbone.pc
EXTRA_DIST
=
etherbone.pc.in glue/version.c.in
bin_PROGRAMS
=
tools/eb-read tools/eb-write tools/eb-put tools/eb-get tools/eb-snoop tools/eb-ls tools/eb-find tools/eb-tunnel tools/eb-discover
dist_man_MANS
=
tools/eb-read.1 tools/eb-write.1 tools/eb-put.1 tools/eb-get.1 tools/eb-snoop.1 tools/eb-ls.1 tools/eb-find.1 tools/eb-tunnel.1 tools/eb-discover.1
EXTRA_DIST
=
tools/eb-read.sgml tools/eb-write.sgml tools/eb-put.sgml tools/eb-get.sgml tools/eb-snoop.sgml tools/eb-ls.sgml tools/eb-find.sgml tools/eb-tunnel.sgml tools/eb-discover.sgml
SOURCES
=
\
memory/dynamic.c
\
...
...
@@ -99,3 +101,15 @@ tools_eb_discover_LDADD =
test_sizes_SOURCES
=
test
/sizes.c
test_loopback_SOURCES
=
test
/loopback.cpp
test_etherbonetest_SOURCES
=
test
/etherbonetest.cpp
# Use manpages in distribution tarball if docbook2man not found
if
REBUILD_MAN_PAGES
.sgml.1
:
$(DOCBOOK2MAN)
-o
$
(
@D
)
$<
else
if
GIT_TREE
.sgml.1
:
@
echo
"***** You must have docbook-utils installed to build from git *****"
@
exit
1
endif
endif
api/configure.ac
View file @
7009642f
...
...
@@ -42,7 +42,9 @@ AC_DEFINE_UNQUOTED([OPERATING_SYSTEM], ["$ac_cv_OPERATING_SYSTEM"], [The operati
AC_DEFINE_UNQUOTED([HOSTNAME], ["${HOSTNAME:-unknown}"], [The hostname of the build system])
AC_DEFINE_UNQUOTED([USERNAME], ["${USERNAME:-${LOGNAME:-${USER:-unknown}}}"], [The username of the person compiling saftlib])
AC_PATH_PROGS([DOCBOOK2MAN], [docbook2manz])
AC_PATH_PROGS([GIT], [git])
AM_CONDITIONAL([REBUILD_MAN_PAGES], [test x$DOCBOOK2MAN != x])
AM_CONDITIONAL([GIT_TREE], [test x$GIT != x -a -e ../.git])
AC_SUBST([ETHERBONE_MAJOR], MAJOR)
...
...
api/debian/etherbone-tools.install
View file @
7009642f
usr
/
bin
/
eb
-*
usr
/
share
/
man
/
man1
/*.
1
api/tools/.gitignore
View file @
7009642f
eb-find
eb-find.1
eb-get
eb-get.1
eb-put
eb-put.1
eb-ls
eb-ls.1
eb-write
eb-write.1
eb-read
eb-read.1
eb-tunnel
eb-tunnel.1
eb-snoop
eb-snoop.1
eb-discover
eb-discover.1
manpage.links
manpage.refs
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment