Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Make man page generation generic #2

Merged
merged 1 commit into from over 1 year ago

2 participants

Dridi Boukelmoune Per Buer
Dridi Boukelmoune
Dridi commented

The creation of vmod_example.3 man page from README.rst is currently
hard-coded. I'v made it possible to generate any man page against any rst
template. Man pages are also ignored, instead of leaving the repository
in a dirty state.

Dridi Boukelmoune Make man page generation generic
The creation of vmod_example.3 man page from README.rst was previously
hard-coded. It is now possible to generate any man page against any rst
template. Man pages are now ignored, instead of leaving the repository
in a dirty state.
8a58408
Per Buer perbu merged commit 295e4ba into from
Per Buer perbu closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jun 19, 2012
Dridi Boukelmoune Make man page generation generic
The creation of vmod_example.3 man page from README.rst was previously
hard-coded. It is now possible to generate any man page against any rst
template. Man pages are now ignored, instead of leaving the repository
in a dirty state.
8a58408
This page is out of date. Refresh to see the latest.

Showing 2 changed files with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  .gitignore
  2. 5  Makefile.am
1  .gitignore
@@ -6,6 +6,7 @@ Makefile.in
6 6
 *.lo
7 7
 *.la
8 8
 *~
  9
+*.[1-9]
9 10
 
10 11
 /aclocal.m4
11 12
 /autom4te.cache/
5  Makefile.am
@@ -8,11 +8,14 @@ dist_man_MANS = vmod_example.3
8 8
 MAINTAINERCLEANFILES = $(dist_man_MANS)
9 9
 
10 10
 vmod_example.3: README.rst
  11
+
  12
+%.1 %.2 %.3 %.4 %.5 %.6 %.7 %.8 %.9:
11 13
 if HAVE_RST2MAN
12  
-	${RST2MAN} README.rst $@
  14
+	${RST2MAN} $< $@
13 15
 else
14 16
 	@echo "========================================"
15 17
 	@echo "You need rst2man installed to make dist"
16 18
 	@echo "========================================"
17 19
 	@false
18 20
 endif
  21
+
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.