Skip to content

Commit

Permalink
man: move all man pages to one directory
Browse files Browse the repository at this point in the history
Problem: man pages are co-located with source code, which is a
bit awkward when making project-wide changes to documentation.

Move all man pages to a top-level man/ directory.
  • Loading branch information
garlick committed Dec 31, 2024
1 parent 963213f commit d698cd9
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 27 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ SUBDIRS = \
libdiod \
diod \
utils \
man \
etc

if ENABLE_TESTS
Expand Down
19 changes: 10 additions & 9 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,16 @@ AC_CONFIG_FILES( \
liblsd/Makefile \
libnpfs/Makefile \
libnpclient/Makefile \
diod/diod.8 \
utils/diodmount.8 \
utils/diodcat.8 \
utils/dtop.8 \
utils/diodload.8 \
utils/diodls.8 \
utils/diodshowmount.8 \
utils/dioddate.8 \
etc/diod.conf.5 \
man/Makefile \
man/diod.8 \
man/diodmount.8 \
man/diodcat.8 \
man/dtop.8 \
man/diodload.8 \
man/diodls.8 \
man/diodshowmount.8 \
man/dioddate.8 \
man/diod.conf.5 \
etc/diod.service \
etc/auto.diod \
diod/Makefile \
Expand Down
3 changes: 0 additions & 3 deletions diod/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,3 @@ diod_SOURCES = \
fid.h \
xattr.c \
xattr.h

man8_MANS = \
diod.8
3 changes: 0 additions & 3 deletions etc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
systemdsystemunit_DATA = \
diod.service

man5_MANS = \
diod.conf.5

sysconf_DATA = \
diod.conf \
auto.diod
Expand Down
15 changes: 15 additions & 0 deletions man/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
man5_MANS = \
diod.conf.5

man8_MANS = \
diod.8 \
diodcat.8 \
dioddate.8 \
diodload.8 \
diodls.8 \
diodshowmount.8 \
dtop.8

if ENABLE_DIODMOUNT
man8_MANS += diodmount.8
endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 0 additions & 12 deletions utils/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,3 @@ diodshowmount_SOURCES = diodshowmount.c $(common_sources)

dioddate_LDADD = $(common_ldadd)
dioddate_SOURCES = dioddate.c $(common_sources)

man8_MANS = \
diodcat.8 \
dtop.8 \
diodload.8 \
diodls.8 \
diodshowmount.8 \
dioddate.8

if ENABLE_DIODMOUNT
man8_MANS += diodmount.8
endif

0 comments on commit d698cd9

Please sign in to comment.