Commit from LXDE Pootle server by user flywheel.: 52 of 52 strings translated (0...
[lxde/gpicview.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
3
4 SUBDIRS = src po data
5
6 EXTRA_DIST = \
7         autogen.sh \
8         gpicview.desktop.in \
9         gpicview.png
10
11 desktopdir = $(datadir)/applications
12 desktop_in_files = gpicview.desktop.in
13 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
14 @INTLTOOL_DESKTOP_RULE@
15
16 icondir = $(datadir)/icons/hicolor/48x48/apps
17 icon_DATA = gpicview.png
18
19 install-data-local:
20         @$(NORMAL_INSTALL)
21         if test -d $(srcdir)/pixmaps; then \
22           $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/pixmaps; \
23           for pixmap in $(srcdir)/pixmaps/*; do \
24             if test -f $$pixmap; then \
25               $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/pixmaps; \
26             fi \
27           done \
28         fi
29
30 dist-hook:
31         if test -d pixmaps; then \
32           mkdir $(distdir)/pixmaps; \
33           for pixmap in pixmaps/*; do \
34             if test -f $$pixmap; then \
35               cp -p $$pixmap $(distdir)/pixmaps; \
36             fi \
37           done \
38         fi
39