-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
52 lines (38 loc) · 1.35 KB
/
Makefile.am
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
SUBDIRS = src po
# rpm 16x16
ACLOCAL_AMFLAGS = -I m4
bin_SCRIPTS = manifestDBview.sh
LATERAL_FILES = COMMENTS LICENSE README.md
lateraldir = $(pkgdatadir)
lateral_DATA = $(LATERAL_FILES)
EXTRA_DIST = autogen.sh GTKManifestDBView.sh manifestDBview.sh \
$(LATERAL_FILES)
# rpm
CLEANFILES =
# desktop files
desktopdir = $(datadir)/applications
desktop_DATA = manifestDBview.desktop
# convenience command for doing Makefile variable substitutions in non-Makefile
# files (scripts, service files, etc.)
do_subst = sed -e 's|@abs_top_srcdir[@]|$(abs_top_srcdir)|g' \
-e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \
-e 's|@localedir[@]|$(localedir)|g' \
-e 's|@bindir[@]|$(bindir)|g' \
-e 's|@libexecdir[@]|$(libexecdir)|g' \
-e 's|@pkglibdir[@]|$(pkglibdir)|g' \
-e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
-e 's|@have_libnotify[@]|$(HAVE_LIBNOTIFY)|g' \
-e 's|@have_libsoup[@]|$(HAVE_LIBSOUP)|g' \
-e 's|@have_cheese[@]|$(HAVE_CHEESE)|g'
manifestDBview.sh: manifestDBview.sh.in
$(AM_V_GEN) $(do_subst) $< > $@
chmod +x $@
manifestDBview.desktop: manifestDBview.desktop.in
$(AM_V_GEN) $(do_subst) $< > $@
chmod +x $@
CLEANFILES += manifestDBview.sh
EXTRA_DIST += manifestDBview.desktop.in manifestDBview.sh.in
# application icon 512x512
appicondir = $(datadir)/pixmaps
appicon_DATA = manifestDBview.svg
EXTRA_DIST += manifestDBview.desktop manifestDBview.svg