File: Makefile.am

package info (click to toggle)
gpicview 0.2.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,076 kB
  • ctags: 612
  • sloc: sh: 10,231; ansic: 5,243; makefile: 139
file content (36 lines) | stat: -rw-r--r-- 780 bytes parent folder | download | duplicates (2)
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
## Process this file with automake to produce Makefile.in

SUBDIRS = src po data

EXTRA_DIST = \
	autogen.sh \
	gpicview.desktop.in \
	gpicview.png

desktopdir = $(datadir)/applications
desktop_DATA = gpicview.desktop

icondir = $(datadir)/pixmaps
icon_DATA = gpicview.png

install-data-local:
	@$(NORMAL_INSTALL)
	if test -d $(srcdir)/pixmaps; then \
	  $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/pixmaps; \
	  for pixmap in $(srcdir)/pixmaps/*; do \
	    if test -f $$pixmap; then \
	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/pixmaps; \
	    fi \
	  done \
	fi

dist-hook:
	if test -d pixmaps; then \
	  mkdir $(distdir)/pixmaps; \
	  for pixmap in pixmaps/*; do \
	    if test -f $$pixmap; then \
	      cp -p $$pixmap $(distdir)/pixmaps; \
	    fi \
	  done \
	fi