Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configure option to generate html man pages. #920

Merged
merged 2 commits into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 1 addition & 35 deletions bin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ bin_SCRIPTS = fvwm-perllib \
fvwm-menu-desktop \
FvwmCommand

man_MANS = fvwm-menu-xlock.1 fvwm-menu-directory.1 fvwm-perllib.1

LDADD = -L$(top_builddir)/libs $(X_LIBS) -lfvwm3 $(xpm_LIBS) $(Xcursor_LIBS) \
$(X_PRE_LIBS) -lXext -lX11 -lm $(X_EXTRA_LIBS) $(Xrender_LIBS) \
$(Xcursor_LIBS) $(png_LIBS) $(rsvg_LIBS) $(XRandR_LIBS) \
Expand All @@ -24,43 +22,11 @@ AM_CPPFLAGS = -I$(top_srcdir) $(xpm_CFLAGS) $(X_CFLAGS) $(png_CFLAGS) \
configdir = @FVWM_DATADIR@
config_DATA = fvwm-menu-desktop-config.fpl

EXTRA_DIST = fvwm-menu-desktop-config.fpl $(man_MANS) FvwmPrompt
EXTRA_DIST = fvwm-menu-desktop-config.fpl FvwmPrompt

dist-hook:
rm -f $(distdir)/FvwmPrompt/FvwmPrompt

## The long generation for *.1 is to make both pod2man and 'make -j' happy.

_fvwm-menu-xlock.1: fvwm-menu-xlock
@TMP=tmp-$$$$ NAME=fvwm-menu-xlock && (\
mkdir $$TMP && \
cp $$NAME.in $$TMP/$$NAME && \
pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
--name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
mv $$TMP/$$NAME.1 .; \
rm -rf $$TMP)

_fvwm-menu-directory.1: fvwm-menu-directory
@TMP=tmp-$$$$ NAME=fvwm-menu-directory && (\
mkdir $$TMP && \
cp $$NAME.in $$TMP/$$NAME && \
pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
--name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
mv $$TMP/$$NAME.1 .; \
rm -rf $$TMP)

_fvwm-perllib.1: fvwm-perllib
@TMP=tmp-$$$$ NAME=fvwm-perllib && (\
mkdir $$TMP && \
cp $$NAME.in $$TMP/$$NAME && \
pod2man --center "Fvwm Utilities" --release "@VERSION@@VERSIONINFO@" \
--name $$NAME $$TMP/$$NAME >$$TMP/$$NAME.1 && \
mv $$TMP/$$NAME.1 .; \
rm -rf $$TMP)

regenerate: \
_fvwm-menu-xlock.1

## Create compatibility symlinks if available

fvwm_root_name =`echo "fvwm-root" | "$(SED)" -e "${transform}"`
Expand Down
330 changes: 0 additions & 330 deletions bin/fvwm-menu-directory.1

This file was deleted.

3 changes: 2 additions & 1 deletion bin/fvwm-menu-directory.in
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ sub wrong_usage {
__END__

# ---------------------------------------------------------------------------

# Manpage has been moved to doc/fvwm-menu-directory.adoc.
# This is no loner used to generate the manpage.
=head1 NAME

fvwm-menu-directory - builds a directory browsing menu for fvwm
Expand Down
Loading
Loading