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