File: Makefile.am

package info (click to toggle)
libopenobex 0.9.8-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 848 kB
  • ctags: 482
  • sloc: sh: 7,554; ansic: 2,809; perl: 660; makefile: 146
file content (41 lines) | stat: -rw-r--r-- 867 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
TOPDIR := ..
export TOPDIR

pdf:	openobex.pdf
ps:	openobex.ps
html:	openobex

openobex.sgml: openobex.tmpl docproc ../src/obex.c
	$(top_srcdir)/doc/docproc <$< >$@

clean:
	-$(RM) openobex.sgml openobex.dvi openobex.ps openobex.tex openobex.log openobex.aux openobex.pdf
	-$(RM) -rf openobex
	
%.ps : %.sgml
	@(which db2ps > /dev/null 2>&1) || \
	 (echo "*** You need to install DocBook stylesheets ***"; \
	  exit 1)
	db2ps $<

%.pdf : %.sgml
	@(which db2pdf > /dev/null 2>&1) || \
	 (echo "*** You need to install DocBook stylesheets ***"; \
	  exit 1)
	db2pdf $<

%:	%.sgml
	@(which db2html > /dev/null 2>&1) || \
	 (echo "*** You need to install DocBook stylesheets ***"; \
	  exit 1)
	-$(RM) -r $@
	db2html $<
	if [ ! -z "$(JPG-$@)" ]; then cp $(JPG-$@) $@; fi


EXTRA_DIST = \
	kernel-doc \
	openobex.tmpl

docproc_SOURCES = docproc.c
noinst_PROGRAMS = docproc