File: Makefile.in

package info (click to toggle)
djview4 4.9-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,432 kB
  • sloc: cpp: 21,120; sh: 9,568; ansic: 9,048; makefile: 245
file content (137 lines) | stat: -rw-r--r-- 3,077 bytes parent folder | download | duplicates (2)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#C- This program is free software; you can redistribute it and/or 
#C- modify it under the terms of the GNU General Public License, 
#C- version 2 or any later version.  The license should have
#C- accompanied the program or you may obtain a copy of the 
#C- license from the Free Software Foundation at http://www.fsf.org.
#C- 
#C- This program is distributed in the hope that it will be useful,
#C- but WITHOUT ANY WARRANTY; without even the implied warranty of
#C- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#C- GNU General Public License for more details.


@SET_MAKE@
SHELL = @SHELL@
VPATH = @srcdir@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@

LN_S = @LN_S@
RM = @RM@ 
TOUCH = @TOUCH@
MKDIR = @MKDIR@
LIBTOOL = @LIBTOOL@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
LRELEASE = @LRELEASE@

srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
datarootdir = @datarootdir@
datadir = @datadir@
libdir = @libdir@
mandir = @mandir@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = .

SUBDIRS=src nsdejavu desktopfiles

# make all

all: all-djview

@NSDEJAVU_YES@all: all-nsdejavu

@NPDJVU_YES@all: all-npdjvu

all: all-desktopfiles

all: all-djview-qm

all-djview: FORCE
	cd src && ${MAKE}

all-nsdejavu: FORCE
	cd nsdejavu && ${MAKE}

all-npdjvu: FORCE
	cd npdjvu && ${MAKE}

all-desktopfiles: FORCE
	cd desktopfiles && ${MAKE}

all-djview-qm: FORCE
	-cd src && test -x "${LRELEASE}" && "${LRELEASE}" djview.pro

# make install

install: install-djview 

@NSDEJAVU_YES@install: install-nsdejavu 

@DESKTOP_YES@install: install-desktopfiles

install-djview: install-djview-bin install-djview-man install-djview-qm

install-djview-bin: FORCE
	${INSTALL} -d ${DESTDIR}${bindir}
	eval `grep '^TARGET *=' src/Makefile | sed -e 's/ *= */=/'` ; \
	  ${INSTALL_PROGRAM} src/$${TARGET-djview} ${DESTDIR}${bindir}/djview4
	cd ${DESTDIR}${bindir} ; ${LN_S} djview4 djview || true

install-djview-man: FORCE
	${INSTALL} -d ${DESTDIR}${mandir}/man1
	${INSTALL_DATA} ${srcdir}/src/djview.1 \
	   ${DESTDIR}${mandir}/man1/djview4.1
	cd ${DESTDIR}${mandir}/man1 ; ${LN_S} djview4.1 djview.1 || true

install-djview-qm: FORCE
	${INSTALL} -d ${DESTDIR}${datadir}/djvu/djview4
	for qm in src/*.qm ; do test -r $$qm && \
          ${INSTALL_DATA} $$qm ${DESTDIR}${datadir}/djvu/djview4 || true ; \
	done

install-nsdejavu: FORCE
	( cd nsdejavu && ${MAKE} install )


install-desktopfiles: FORCE
	( cd desktopfiles && ${MAKE} install )

# make clean

clean: clean-subdirs FORCE
	-${RM} 2>/dev/null src/*.qm src/djview
	@echo "Done."

clean-subdirs: FORCE
	-for d in ${SUBDIRS} ; do ( cd $$d && ${MAKE} clean ) ; done


# make distclean

distclean: distclean-subdirs FORCE
	-${RM} 2>/dev/null src/*.qm src/djview
	-${RM} 2>/dev/null Makefile config.log config.status config.h libtool
	-${RM} 2>/dev/null -r autom4te.cache
	@echo "Done."

distclean-subdirs: FORCE
	-for d in ${SUBDIRS} ; do ( cd $$d && ${MAKE} distclean ) ; done


# phony targets

FORCE:

.PHONY: FORCE