forked from lanoxx/tilda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
65 lines (53 loc) · 1.45 KB
/
Makefile.am
File metadata and controls
65 lines (53 loc) · 1.45 KB
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
62
63
64
65
## Process this file with automake to produce a Makefile.in
# vim: set noexpandtab ts=8 sts=8 sw=8:
AUTOMAKE_OPTIONS = gnu
SUBDIRS = po m4 src
CLEANFILES = tilda.desktop
MAINTAINERCLEANFILES = \
ABOUT-NLS \
Makefile.in \
aclocal.m4 \
stamp-h1 \
missing \
install-sh \
decomp \
compile \
INSTALL \
m4/*.m4 \
tilda-config.h \
config.guess \
config.rpath \
config.sub \
configure \
depcomp \
m4/Makefile.in \
po/Makefile.in.in \
po/Makevars.template \
po/Rules-quot \
po/boldquot.sed \
po/en@boldquot.header \
po/en@quot.header \
po/insert-header.sin \
po/quot.sed \
po/remove-potcdate.sin \
po/tilda.pot \
tilda-config.h.in \
tilda-config.h.in~
Applicationsdir = ${datadir}/applications
Applications_DATA = tilda.desktop
Pixmapsdir = ${datadir}/pixmaps
Pixmaps_DATA = tilda.png
# This will install tilda.glade to ${pkgdatadir}
pkgdata_DATA = tilda.glade
EXTRA_DIST = tilda.desktop.in tilda.png tilda.glade
tilda.desktop: tilda.desktop.in
sed -e 's|\@BINDIR\@|$(bindir)|' \
-e 's|\@PIXMAPSDIR\@|$(datadir)/applications|' $< > $@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
# We register this uninstall hook to remove the ${pkgdatadir}, which
# is created by the pkgdata_DATA directive above. Without this hook
# the folder would be left over after a make uninstall.
# We wrap it into and if-then because otherwise make distcheck would
# fail.
uninstall-hook:
if test -d ${pkgdatadir}; then rmdir ${pkgdatadir}; fi