File: Makefile.am

package info (click to toggle)
babl 0.0.22-1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 2,848 kB
  • ctags: 1,229
  • sloc: ansic: 13,365; sh: 9,103; makefile: 321; ruby: 90
file content (54 lines) | stat: -rw-r--r-- 848 bytes parent folder | download
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
AUTOMAKE_OPTIONS = foreign dist-bzip2

SUBDIRS = \
	babl		\
	extensions	\
	tests		\
	docs

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = babl.pc

built_dist_files = README

EXTRA_DIST = \
	$(built_dist_files)	\
	AUTHORS			\
	COPYING			\
	COPYING.LESSER		\
	INSTALL			\
	NEWS			\
	TODO			\
	ChangeLog		\
	autogen.sh		\
	babl.pc.in

DISTCLEANFILES = \
	$(built_dist_files)	\
	babl.pc

.PHONY: snapshot


if HAVE_W3M
dist-check-w3m:

README: all docs/index.html
	$(W3M) -cols 72 -dump docs/index.html > $@
else
dist-check-w3m:
	@echo "*** w3m must be available in order to make dist"
	@false
endif

snapshot:
	$(MAKE) dist distdir=$(PACKAGE)-`date +"%Y%m%d"`
snapcheck:
	$(MAKE) distcheck distdir=$(PACKAGE)-`date +"%Y%m%d"`

distclean-local:
	if test $(srcdir) = .; then :; else 	\
		rm -f $(BUILT_EXTRA_DIST);	\
	fi

dist-hook: dist-check-w3m