File: Makefile.am

package info (click to toggle)
gutenprint 5.2.10-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 36,892 kB
  • ctags: 9,634
  • sloc: xml: 104,514; ansic: 98,821; sh: 13,283; perl: 3,816; makefile: 1,448; yacc: 934; lex: 212; sed: 16
file content (96 lines) | stat: -rw-r--r-- 2,342 bytes parent folder | download | duplicates (3)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
## $Id: Makefile.am,v 1.50 2012/05/26 19:09:01 rlk Exp $
## Copyright (C) 2000 Roger Leigh
##
## 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.

@SET_MAKE@

SUBDIRS = developer

include $(top_srcdir)/scripts/global.mk


## Variables

docdir = $(datadir)/$(PACKAGE)/doc

## Rules

if MAINTAINER_MODE
if BUILD_DOC
all-local: gutenprint-stamp gutenprintui2-stamp
else
all-local:
endif
else
all-local:
endif

# Rerun doxygen whenever autogen is run
gutenprintui2: gutenprintui2-stamp
gutenprintui2-stamp: gutenprintui2.dox $(top_srcdir)/configure
	$(RM) -rf gutenprintui2/html
	$(DOXYGEN) gutenprintui2.dox
	touch $@

gutenprint: gutenprint-stamp
gutenprint-stamp: gutenprint.dox $(top_srcdir)/configure
	$(RM) -rf gutenprint/html
	$(DOXYGEN) gutenprint.dox
	touch $@

docs: gutenprint-stamp
	cd developer; $(MAKE)

ps: $(MANUAL).ps
	cd developer; $(MAKE) ps

pdf: $(MANUAL).pdf
	cd developer; $(MAKE) pdf

html: 
	cd developer; $(MAKE) html

install-data-local: FAQ.html gutenprint-users-manual.odt gutenprint-users-manual.pdf
	$(mkdir_p) $(DESTDIR)$(docdir)
	$(INSTALL_DATA) $(srcdir)/FAQ.html $(DESTDIR)$(docdir)
	$(INSTALL_DATA) $(srcdir)/gutenprint-users-manual.odt $(DESTDIR)$(docdir)
	$(INSTALL_DATA) $(srcdir)/gutenprint-users-manual.pdf $(DESTDIR)$(docdir)


## Clean

maintainer-clean-local:
	$(RM) -r gutenprint

MAINTAINERCLEANFILES = \
	Makefile.in \
	gutenprint-stamp

EXTRA_DIST = \
	FAQ.html \
	README.maintaining \
	gutenprint-users-manual.odt \
	gutenprint-users-manual.pdf \
	gutenprint.dox.in \
	gutenprintui2.dox.in \
	gutenprint \
	gutenprintui2 \
	gutenprint-stamp \
	gutenprintui2-stamp

.PHONY: html ps pdf docs