Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
Include manual pages in the build system
Browse files Browse the repository at this point in the history
The build system now generates the necessary manpages as part of
standard build.
  • Loading branch information
alive4ever committed Oct 21, 2016
1 parent c51fe72 commit ffa2518
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src data po
SUBDIRS = src data doc po

pkgconfigdir = $(datadir)/volumeicon
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ AC_DEFINE_UNQUOTED(DEFAULT_MIXERAPP,"${DEFAULT_MIXERAPP}",[Default mixer applica
AC_CONFIG_FILES(Makefile \
src/Makefile \
data/Makefile \
doc/Makefile \
po/Makefile.in)

AC_OUTPUT
14 changes: 14 additions & 0 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
EXTRA_DIST = volumeicon.1.pod volumeicon.5.pod

dist_man_MANS = volumeicon.1 volumeicon.5

volumeicon.1: volumeicon.1.pod
pod2man --release='${PACKAGE_VERSION}' --center='${PACKAGE_NAME}' \
--section=1 $< > $@

volumeicon.5: volumeicon.5.pod
pod2man --release='${PACKAGE_VERSION}' --center='${PACKAGE_NAME}' \
--section=5 $< > $@

CLEANFILES = volumeicon.1 volumeicon.5

0 comments on commit ffa2518

Please sign in to comment.