| 1 |
# This -*- Makefile -*- uses features of GNU make. |
| 2 |
# It is included via GNUmakefile. |
| 3 |
|
| 4 |
# The following one line summaries were extracted from the |
| 5 |
# original man pages using this bit of sh code: |
| 6 |
# for i in *.1; do echo "$i: "|tr -d '\012'; \ |
| 7 |
# grep -A1 SH.NAME $i|sed '/SH NAME/d;s/^[^ ][^ ]* .- //'; done |
| 8 |
|
| 9 |
include Makefile.summ |
| 10 |
|
| 11 |
# Depend on configure.in to get version number changes. |
| 12 |
$(dyn_MANS): $(top_srcdir)/configure.in |
| 13 |
|
| 14 |
# Depend on the source file containing the --help text. |
| 15 |
# Filter out irregular cases. |
| 16 |
regular-men = $(filter-out $(irregular-men),$(dyn_MANS)) |
| 17 |
$(regular-men): %.8: $(top_srcdir)/src/%.c |
| 18 |
|
| 19 |
executable = $(patsubst %/install,%/ginstall, ../src/$(basename $@)) |
| 20 |
|
| 21 |
%.5: %.5.pod Makefile.maint |
| 22 |
pod2man -n$(shell perl -e '$$ARGV[0] =~ s/\.\d$$//; print uc $$ARGV[0]' $@) -qnone -r$(VERSION) -s5 -c "Virtual Private Ethernet" $< >$@ |
| 23 |
|
| 24 |
%.7: %.7.pod Makefile.maint |
| 25 |
pod2man -n$(shell perl -e '$$ARGV[0] =~ s/\.\d$$//; print uc $$ARGV[0]' $@) -qnone -r$(VERSION) -s7 -c "Virtual Private Ethernet" $< >$@ |
| 26 |
|
| 27 |
%.8: %.8.pod Makefile.maint |
| 28 |
pod2man -n$(shell perl -e '$$ARGV[0] =~ s/\.\d$$//; print uc $$ARGV[0]' $@) -qnone -r$(VERSION) -s8 -c "Virtual Private Ethernet" $< >$@ |
| 29 |
|
| 30 |
vpe.texi: vpe.texi.in |
| 31 |
./pod2texi <vpe.texi.in >vpe.texi |
| 32 |
|
| 33 |
../README: vpe.5.pod |
| 34 |
pod2text -q\\\" -a vpe.5.pod >../README |
| 35 |
|