The Big Commit (tm): Remove Cairo.Color and most of Gdk.Color usage from libprolooks
[libprolooks.git] / Makefile.am
blob3daebaf5f9490afd010fd779c630dff621a122b4
1 NULL=
3 SUBDIRS=                \
4         src                     \
5         vapi            \
6         $(NULL)
8 if ENABLE_GLADE
9 SUBDIRS += gladeui
10 endif
12 if ENABLE_DEMOS
13 SUBDIRS += demos
14 endif
16 pkgconfigdir=$(libdir)/pkgconfig
17 pkgconfig_DATA=prolooks@PACKAGE_SUFFIX@.pc
19 prolooks@PACKAGE_SUFFIX@.pc: prolooks.pc
20         cp $< $@
22 vapidir=$(datadir)/vala/vapi
23 vapi_DATA=prolooks@PACKAGE_SUFFIX@.vapi prolooks@PACKAGE_SUFFIX@.deps
25 prolooks@PACKAGE_SUFFIX@.vapi: src/prolooks.vapi
26         cp $< $@
28 prolooks@PACKAGE_SUFFIX@.deps: src/prolooks.deps
29         cp $< $@
31 EXTRA_DIST=prolooks.pc.in                                       \
32         run-demo.sh                                             \
33         $(NULL)
35 CLEANFILES=prolooks@PACKAGE_SUFFIX@.vapi        \
36         prolooks@PACKAGE_SUFFIX@.deps   \
37         prolooks@PACKAGE_SUFFIX@.pc             \
38         $(NULL)
40 DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
41   
42 DISTCLEANFILES=$(CLEANFILES)
43         $(NULL)
45 # Remove generated files from the distribution. autotools by default include
46 # these built sources in the tarball, but we want them to be rebuilt.
47 dist-hook:
48         rm -f $(distdir)/src/*.c
49         rm -f $(distdir)/src/*.stamp
50         rm -f $(distdir)/src/*.vapi
51         rm -f $(distdir)/src/*.h
52         rm -f $(distdir)/gladeui/*.c
53         rm -f $(distdir)/gladeui/*.stamp
54         rm -f $(distdir)/demos/*.c
55         rm -f $(distdir)/demos/*.stamp