File: Makefile.am

package info (click to toggle)
mousepad 0.2.13-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 2,340 kB
  • ctags: 287
  • sloc: sh: 9,203; ansic: 3,695; makefile: 145
file content (46 lines) | stat: -rw-r--r-- 1,144 bytes parent folder | download
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
# $Id: Makefile.am 23667 2006-11-04 16:16:51Z benny $

SUBDIRS =								\
	po								\
	src

pixmapsdir = $(datadir)/pixmaps
pixmaps_DATA =								\
	mousepad.png

desktopdir = $(datadir)/applications
desktop_in_files = mousepad.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

AUTOMAKE_OPTIONS =							\
	1.8								\
	dist-bzip2

EXTRA_DIST =								\
	intltool-extract.in						\
	intltool-merge.in						\
	intltool-update.in						\
	$(desktop_in_files)						\
	$(pixmaps_DATA)

DISTCLEANFILES =							\
	intltool-extract						\
	intltool-merge							\
	intltool-update							\
	$(desktop_DATA)

update_desktop_database = update-desktop-database $(datadir)/applications

install-data-hook:
	@-if test -z "$(DESTDIR)"; then					\
                echo "Updating desktop database.";			\
                $(update_desktop_database);				\
        else								\
                echo "*** Desktop database not updated. Remember to run:";\
		echo "***";						\
                echo "***   $(update_desktop_database)";		\
		echo "***";						\
        fi

# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: