forked from community-ssu/hildon-application-manager
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.am
61 lines (47 loc) · 2.12 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
52
53
54
55
56
57
58
59
60
61
SUBDIRS = src utils catpo statusbar
desktopdir = $(datadir)/applications/hildon
desktop_DATA = hildon-application-manager.desktop
servicefiledir=$(datadir)/dbus-1/services
servicefile_DATA=com.nokia.hildon_application_manager.service
mimedir = $(datadir)/mime/packages
mime_DATA = hildon-application-manager.xml
backupdir = $(sysconfdir)/osso-backup/applications/
backup_DATA = hildon-application-manager.conf
restoredir = $(sysconfdir)/osso-backup/restore.d/always/
restore_SCRIPTS = hildon-application-manager.sh
rescuedir = $(libexecdir)
rescue_SCRIPTS = ham-rescue.sh
ossocudscriptsdir=/etc/osso-cud-scripts
ossocudscripts_SCRIPTS = ham-clean.sh
sudoersdir = $(sysconfdir)/sudoers.d/
sudoers_DATA = hildon-application-manager.sudoers
etcdir = $(sysconfdir)/hildon-application-manager/
pkgcatdir = $(datadir)/hildon-application-manager/catalogues
vardir = /var/lib/hildon-application-manager/
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(etcdir)
if [ ! -f $(DESTDIR)$(etcdir)/catalogues ]; then \
echo "<catalogues/>" >$(DESTDIR)$(etcdir)/catalogues; \
fi
if [ ! -f $(DESTDIR)$(etcdir)/notifier ]; then \
echo "<notifier/>" >$(DESTDIR)$(etcdir)/notifier; \
fi
if [ ! -f $(DESTDIR)$(etcdir)/settings ]; then \
echo "<settings><notifier-uri>http://leste.maemo.org/application-notices/notice-\$${HARDWARE}-fremantle.html</notifier-uri></settings>" >$(DESTDIR)$(etcdir)/settings; \
fi
$(mkinstalldirs) $(DESTDIR)$(vardir)
if [ ! -f $(DESTDIR)$(vardir)/available-updates ]; then \
echo "<updates/>" >$(DESTDIR)$(vardir)/available-updates; \
fi
$(mkinstalldirs) $(DESTDIR)$(pkgcatdir)
EXTRA_DIST = COPYING.LIB \
hildon-application-manager.desktop \
com.nokia.hildon_application_manager.service \
hildon-application-manager.xml \
hildon-application-manager.conf \
hildon-application-manager.sh \
hildon-application-manager.sudoers \
ham-rescue.sh \
ham-clean.sh
deb:
./make-package $(PACKAGE) $(VERSION) .