blob: 309a41ef3c3248d9986f398561074a8f151635d2 (
plain)
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
|
ACLOCAL_AMFLAGS = -I m4
MAKEFLAGS = --no-print-directory
AM_CPPFLAGS = $(SANDBOX_DEFINES)
SUBDIRS = \
libsbutil \
libsandbox \
src \
tests
confdir = $(sysconfdir)
confddir = $(sysconfdir)/sandbox.d
pixmapdir = $(datadir)/pixmaps
desktopdir = $(datadir)/applications
dist_conf_DATA = etc/sandbox.conf
confd_DATA = etc/sandbox.d/00default
dist_pkgdata_DATA = data/sandbox.bashrc
dist_pixmap_DATA = data/sandbox.svg
dist_desktop_DATA = data/sandbox.desktop
noinst_LTLIBRARIES =
libsandbox: libsbutil
src: libsbutil
tests: src
EXTRA_DIST = \
headers.h \
localdecls.h \
ChangeLog.0 \
etc/sandbox.d/00default.in \
scripts/gen_symbol_version_map.awk \
scripts/gen_symbol_header.awk \
scripts/gen_trace_header.awk
DISTCLEANFILES = $(CLEANFILES)
ChangeLog:
touch ChangeLog
dist-hook:
set -e ; \
if [ -d "$(top_srcdir)/.git" ] ; then \
git --git-dir="$(top_srcdir)/.git" log > $(distdir)/ChangeLog ; \
elif [ ! -e "$(distdir)/ChangeLog" ] ; then \
if [ -e "$(top_srcdir)/ChangeLog" ] ; then \
cp "$(top_srcdir)/ChangeLog" "$(distdir)/ChangeLog" ; \
else \
touch "$(distdir)/ChangeLog" ; \
fi ; \
fi
install-exec-hook:
set -e ; \
for f in $(bindir)/sandbox $(libdir)/libsandbox.so ; do \
sed -i.tmp \
's:__SANDBOX_TESTING:\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00:' \
$(DESTDIR)$$f ; \
rm -f $(DESTDIR)$$f.tmp ; \
done
|