File: Makefile.am

package info (click to toggle)
gyrus 0.3.9-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,624 kB
  • ctags: 551
  • sloc: ansic: 5,220; sh: 1,160; makefile: 123
file content (61 lines) | stat: -rw-r--r-- 1,560 bytes parent folder | download | duplicates (5)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
## Process this file with automake to produce Makefile.in

SUBDIRS = src po

if GYRUS_ENABLE_TESTS
SUBDIRS += tests
endif

desktopdir = $(datadir)/applications
desktop_in_files = gyrus.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

@INTLTOOL_DESKTOP_RULE@

EXTRA_DIST = 			\
	$(desktop_in_files)	\
	autogen.sh		\
        intltool-extract.in     \
        intltool-merge.in       \
        intltool-update.in      \
	TODO			\
	ChangeLog.old

DISTCLEANFILES =                \
	gyrus.desktop		\
        intltool-extract        \
        intltool-merge          \
        intltool-update

install-data-local:
	@$(NORMAL_INSTALL)
	if test -d $(srcdir)/pixmaps; then \
	  $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
	  for pixmap in $(srcdir)/pixmaps/*; do \
	    if test -f $$pixmap; then \
	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
	    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
	@if test -d "$(srcdir)/.git"; \
	then \
		echo Creating ChangeLog && \
		( cd "$(top_srcdir)" && \
		  echo '# Generated by Makefile. Do not edit.'; echo; \
		  $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
		&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
		|| ( rm -f ChangeLog.tmp ; \
		     echo Failed to generate ChangeLog >&2 ); \
	else \
		echo A git clone is required to generate a ChangeLog >&2; \
	fi