File: Makefile.am

package info (click to toggle)
a2ps 4.13-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 9,820 kB
  • ctags: 4,765
  • sloc: ansic: 31,099; sh: 10,465; lex: 2,285; perl: 1,470; yacc: 757; makefile: 696; lisp: 399; ada: 263; objc: 189; java: 151; f90: 109; pascal: 109; sed: 107; ml: 85; sql: 74; modula3: 33; haskell: 32; python: 24
file content (60 lines) | stat: -rw-r--r-- 2,201 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## Top level Makefile for a2ps.
## Copyright (c) 1995-2000 Akim Demaille, Miguel Santana
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = check-news 1.4a dist-bzip2 readme-alpha

## Make sure to drop doc at the end: it causes may problems, so
## let's do the maximum before it
SUBDIRS = auxdir m4 etc ps ogonkify intl \
	lib src po tests sheets encoding afm fonts ppd contrib doc man

## I use special autoconf/make macros
ACLOCAL_AMFLAGS = --version >/dev/null && cat m4/*.m4 >aclocal.m4
EXTRA_DIST = TODO ANNOUNCE FAQ a2ps.prj arch

MAKE_AUTHORS = make-authors.pl

## I shouldn't need this, it looks like a bug in Automake
AMTAR = @AMTAR@
AMTARFLAGS = @AMTARFLAGS@
PERL = @PERL@
all-local: FAQ AUTHORS

prcs-diff:
	thisver=`echo "Version-$(VERSION)" | sed 's/\./-/g'`; \
	IFS="${IFS}:,;" ; \
	for prev in $(PREV); \
	do \
	  prevno=`echo "$$prev" | sed 's/^\./0./'`; \
	  prevver=Version-`echo $$prevno | sed 's/\./-/g'`; \
	  diff=$(PACKAGE)-$$prevno-$(VERSION).diff; \
	  prcs diff -r $$prevver -r $$thisver -N $(PACKAGE) -- -u > $$diff; \
	  gzip -c $$diff > $$diff.gz && \
	  bzip2 $$diff ;\
	done

FAQ: $(top_srcdir)/doc/a2ps.texi
	LC_ALL=C $(MAKEINFO) --no-header -I $(top_srcdir)/doc a2ps.texi | \
	sed -n -f $(top_srcdir)/auxdir/make-faq.sed > FAQ-tmp
	mv FAQ-tmp FAQ

AUTHORS: $(top_srcdir)/doc/translators.txt $(top_srcdir)/doc/$(MAKE_AUTHORS) $(top_srcdir)/sheets/sheets.map
	cd doc \
	&& $(PERL) $(MAKE_AUTHORS) > $@-t \
	&& chmod 644 $@-t
	mv doc/$@-t $@