Add translation (Complete)
[dana/obconf.git] / Makefile.am
1 SUBDIRS = po
2
3 localedir       = $(datadir)/locale
4 resourcedir     = $(datadir)/obconf
5 pixmapdir       = $(datadir)/pixmaps
6 themedir        = $(datadir)/openbox/themes
7 desktopdir      = $(datadir)/applications
8 mimedir         = $(datadir)/mime
9 mimepkgdir      = $(datadir)/mime/packages
10 kdemimedir      = $(datadir)/mimelnk/application
11
12 AUTOMAKE_OPTIONS = subdir-objects foreign
13 ACLOCAL_AMFLAGS = -I m4
14
15 bin_PROGRAMS = \
16         src/obconf
17
18 src_obconf_CPPFLAGS = \
19         $(OPENBOX_CFLAGS) \
20         $(LIBSTARTUPNOTIFICATION_CFLAGS) \
21         $(GTK_CFLAGS) \
22         $(GDK_PIXBUF_CFLAGS) \
23         $(XML_CFLAGS) \
24         -DLOCALEDIR=\"$(localedir)\" \
25         -DPIXMAPDIR=\"$(pixmapdir)\" \
26         -DRESOURCEDIR=\"$(resourcedir)\" \
27         -DTHEMEDIR=\"$(themedir)\" \
28         -DG_LOG_DOMAIN=\"Obconf\"
29 src_obconf_LDADD = \
30         $(OPENBOX_LIBS) \
31         $(LIBSTARTUPNOTIFICATION_LIBS) \
32         $(GTK_LIBS) \
33         $(GDK_PIXBUF_LIBS) \
34         $(LIBINTL) \
35         $(ZLIB_LIBS) \
36         $(LIBTAR_LIBS)
37 src_obconf_SOURCES = \
38         src/gettext.h \
39         src/about.c \
40         src/archive.c \
41         src/archive.h \
42         src/windows.c \
43         src/windows.h \
44         src/moveresize.c \
45         src/moveresize.h \
46         src/margins.c \
47         src/margins.h \
48         src/mouse.c \
49         src/mouse.h \
50         src/desktops.c \
51         src/desktops.h \
52         src/dock.h \
53         src/dock.c \
54         src/main.c \
55         src/main.h \
56         src/appearance.c \
57         src/appearance.h \
58         src/preview.c \
59         src/preview.h \
60         src/preview_update.c \
61         src/preview_update.h \
62         src/theme.c \
63         src/theme.h \
64         src/tree.c \
65         src/tree.h
66
67 dist_resource_DATA = \
68         src/obconf.ui \
69         pixmaps/video-display.png
70
71 dist_desktop_DATA = \
72         obconf.desktop
73
74 dist_mimepkg_DATA = \
75         obconf.xml
76
77 dist_kdemime_DATA = \
78         x-openbox-theme.desktop
79
80 dist_pixmap_DATA = \
81         data/obconf.png
82
83 EXTRA_DIST = \
84         config.rpath \
85         README \
86         CHANGELOG \
87         COPYING \
88         AUTHORS \
89         m4/codeset.m4 \
90         m4/gettext.m4 \
91         m4/glibc21.m4 \
92         m4/glibc2.m4 \
93         m4/iconv.m4 \
94         m4/intdiv0.m4 \
95         m4/intmax.m4 \
96         m4/inttypes_h.m4 \
97         m4/inttypes-h.m4 \
98         m4/inttypes-pri.m4 \
99         m4/lcmessage.m4 \
100         m4/lib-ld.m4 \
101         m4/lib-link.m4 \
102         m4/lib-prefix.m4 \
103         m4/lock.m4 \
104         m4/longdouble.m4 \
105         m4/longlong.m4 \
106         m4/nls.m4 \
107         m4/po.m4 \
108         m4/printf-posix.m4 \
109         m4/progtest.m4 \
110         m4/signed.m4 \
111         m4/size_max.m4 \
112         m4/stdint_h.m4 \
113         m4/uintmax_t.m4 \
114         m4/ulonglong.m4 \
115         m4/visibility.m4 \
116         m4/wchar_t.m4 \
117         m4/wint_t.m4 \
118         m4/xsize.m4 \
119         data/video-display.svg
120
121 # Packages need to run these...
122
123 install-data-hook:
124 #       update-mime-database $(mimedir)
125 #       update-desktop-database $(desktopdir)
126
127 uninstall-hook:
128 #       update-mime-database $(mimedir)
129 #       update-desktop-database $(desktopdir)