| Line | |
|---|
| 1 | # Automakefile for GNU diffutils man pages
|
|---|
| 2 |
|
|---|
| 3 | # Copyright (C) 2002 Free Software Foundation, Inc.
|
|---|
| 4 |
|
|---|
| 5 | ## This program is free software; you can redistribute it and/or modify
|
|---|
| 6 | ## it under the terms of the GNU General Public License as published by
|
|---|
| 7 | ## the Free Software Foundation; either version 2, or (at your option)
|
|---|
| 8 | ## any later version.
|
|---|
| 9 |
|
|---|
| 10 | ## This program is distributed in the hope that it will be useful,
|
|---|
| 11 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 13 | ## GNU General Public License for more details.
|
|---|
| 14 |
|
|---|
| 15 | ## You should have received a copy of the GNU General Public License
|
|---|
| 16 | ## along with this program; if not, write to the Free Software
|
|---|
| 17 | ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|---|
| 18 | ## 02111-1307, USA.
|
|---|
| 19 |
|
|---|
| 20 | dist_man_MANS = cmp.1 diff.1 diff3.1 sdiff.1
|
|---|
| 21 | MAINTAINERCLEANFILES = $(dist_man_MANS)
|
|---|
| 22 |
|
|---|
| 23 | S = $(top_srcdir)/src
|
|---|
| 24 | cmp.1: $S/cmp.c
|
|---|
| 25 | diff.1: $S/diff.c
|
|---|
| 26 | diff3.1: $S/diff3.c
|
|---|
| 27 | sdiff.1: $S/sdiff.c
|
|---|
| 28 |
|
|---|
| 29 | # Depend on configure.ac to get version number changes.
|
|---|
| 30 | $(dist_man_MANS): $(top_srcdir)/configure.ac
|
|---|
| 31 | base=`expr $@ : '\(.*\).1'` && \
|
|---|
| 32 | (echo '[NAME]' && sed 's@/\* *@@; s/-/\\-/; q' $S/$$base.c) | \
|
|---|
| 33 | $(HELP2MAN) -i - -S '$(PACKAGE) $(VERSION)' ../src/$$base | \
|
|---|
| 34 | sed 's/^\.B info .*/.B info diff/' >$@
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.