diff options
author | 2015-10-10 15:57:58 -0400 | |
---|---|---|
committer | 2015-10-10 20:47:46 -0400 | |
commit | 2d5b6098a4640af0aae734c2775ffbca86b50077 (patch) | |
tree | 43cc4ceb02a07298cb10b1c9eab785caf9c36f6d | |
parent | --private-bin (diff) | |
download | firejail-2d5b6098a4640af0aae734c2775ffbca86b50077.tar.gz firejail-2d5b6098a4640af0aae734c2775ffbca86b50077.tar.zst firejail-2d5b6098a4640af0aae734c2775ffbca86b50077.zip |
use configure options in Makefile
-rw-r--r-- | Makefile.in | 136 |
1 files changed, 70 insertions, 66 deletions
diff --git a/Makefile.in b/Makefile.in index bb00a7911..4d00e3aef 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -2,15 +2,19 @@ all: apps firejail.1 firemon.1 firejail-profile.5 firejail-login.5 | |||
2 | MYLIBS = src/lib | 2 | MYLIBS = src/lib |
3 | APPS = src/firejail src/firemon src/libtrace src/ftee | 3 | APPS = src/firejail src/firemon src/libtrace src/ftee |
4 | 4 | ||
5 | datarootdir=@datarootdir@ | ||
6 | PREFIX=@prefix@ | ||
7 | prefix=@prefix@ | 5 | prefix=@prefix@ |
6 | exec_prefix=@exec_prefix@ | ||
7 | bindir=@bindir@ | ||
8 | libdir=@libdir@ | ||
9 | datarootdir=@datarootdir@ | ||
10 | mandir=@mandir@ | ||
11 | sysconfdir=@sysconfdir@ | ||
12 | |||
8 | VERSION=@PACKAGE_VERSION@ | 13 | VERSION=@PACKAGE_VERSION@ |
9 | NAME=@PACKAGE_NAME@ | 14 | NAME=@PACKAGE_NAME@ |
10 | PACKAGE_TARNAME=@PACKAGE_TARNAME@ | 15 | PACKAGE_TARNAME=@PACKAGE_TARNAME@ |
11 | DOCDIR=@docdir@ | 16 | DOCDIR=@docdir@ |
12 | 17 | ||
13 | |||
14 | .PHONY: mylibs $(MYLIBS) | 18 | .PHONY: mylibs $(MYLIBS) |
15 | mylibs: $(MYLIBS) | 19 | mylibs: $(MYLIBS) |
16 | $(MYLIBS): | 20 | $(MYLIBS): |
@@ -50,58 +54,58 @@ distclean: clean | |||
50 | 54 | ||
51 | realinstall: | 55 | realinstall: |
52 | # firejail executable | 56 | # firejail executable |
53 | mkdir -p $(DESTDIR)/$(PREFIX)/bin | 57 | mkdir -p $(DESTDIR)/$(bindir) |
54 | install -c -m 0755 src/firejail/firejail $(DESTDIR)/$(PREFIX)/bin/. | 58 | install -c -m 0755 src/firejail/firejail $(DESTDIR)/$(bindir)/. |
55 | chmod u+s $(DESTDIR)/$(PREFIX)/bin/firejail | 59 | chmod u+s $(DESTDIR)/$(bindir)/firejail |
56 | # firemon executable | 60 | # firemon executable |
57 | install -c -m 0755 src/firemon/firemon $(DESTDIR)/$(PREFIX)/bin/. | 61 | install -c -m 0755 src/firemon/firemon $(DESTDIR)/$(bindir)/. |
58 | # libraries and plugins | 62 | # libraries and plugins |
59 | mkdir -p $(DESTDIR)/$(PREFIX)/lib/firejail | 63 | mkdir -p $(DESTDIR)/$(libdir)/firejail |
60 | install -c -m 0644 src/libtrace/libtrace.so $(DESTDIR)/$(PREFIX)/lib/firejail/. | 64 | install -c -m 0644 src/libtrace/libtrace.so $(DESTDIR)/$(libdir)/firejail/. |
61 | install -c -m 0755 src/ftee/ftee $(DESTDIR)/$(PREFIX)/lib/firejail/. | 65 | install -c -m 0755 src/ftee/ftee $(DESTDIR)/$(libdir)/firejail/. |
62 | install -c -m 0755 src/fshaper/fshaper.sh $(DESTDIR)/$(PREFIX)/lib/firejail/. | 66 | install -c -m 0755 src/fshaper/fshaper.sh $(DESTDIR)/$(libdir)/firejail/. |
63 | # documents | 67 | # documents |
64 | mkdir -p $(DESTDIR)/$(DOCDIR) | 68 | mkdir -p $(DESTDIR)/$(DOCDIR) |
65 | install -c -m 0644 COPYING $(DESTDIR)/$(DOCDIR)/. | 69 | install -c -m 0644 COPYING $(DESTDIR)/$(DOCDIR)/. |
66 | install -c -m 0644 README $(DESTDIR)/$(DOCDIR)/. | 70 | install -c -m 0644 README $(DESTDIR)/$(DOCDIR)/. |
67 | install -c -m 0644 RELNOTES $(DESTDIR)/$(DOCDIR)/. | 71 | install -c -m 0644 RELNOTES $(DESTDIR)/$(DOCDIR)/. |
68 | # etc files | 72 | # etc files |
69 | mkdir -p $(DESTDIR)/etc/firejail | 73 | mkdir -p $(DESTDIR)/$(sysconfdir)/firejail |
70 | install -c -m 0644 etc/audacious.profile $(DESTDIR)/etc/firejail/. | 74 | install -c -m 0644 etc/audacious.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
71 | install -c -m 0644 etc/clementine.profile $(DESTDIR)/etc/firejail/. | 75 | install -c -m 0644 etc/clementine.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
72 | install -c -m 0644 etc/gnome-mplayer.profile $(DESTDIR)/etc/firejail/. | 76 | install -c -m 0644 etc/gnome-mplayer.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
73 | install -c -m 0644 etc/rhythmbox.profile $(DESTDIR)/etc/firejail/. | 77 | install -c -m 0644 etc/rhythmbox.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
74 | install -c -m 0644 etc/totem.profile $(DESTDIR)/etc/firejail/. | 78 | install -c -m 0644 etc/totem.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
75 | install -c -m 0644 etc/firefox.profile $(DESTDIR)/etc/firejail/. | 79 | install -c -m 0644 etc/firefox.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
76 | install -c -m 0644 etc/icedove.profile $(DESTDIR)/etc/firejail/. | 80 | install -c -m 0644 etc/icedove.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
77 | install -c -m 0644 etc/iceweasel.profile $(DESTDIR)/etc/firejail/. | 81 | install -c -m 0644 etc/iceweasel.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
78 | install -c -m 0644 etc/midori.profile $(DESTDIR)/etc/firejail/. | 82 | install -c -m 0644 etc/midori.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
79 | install -c -m 0644 etc/evince.profile $(DESTDIR)/etc/firejail/. | 83 | install -c -m 0644 etc/evince.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
80 | install -c -m 0644 etc/chromium-browser.profile $(DESTDIR)/etc/firejail/. | 84 | install -c -m 0644 etc/chromium-browser.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
81 | install -c -m 0644 etc/chromium.profile $(DESTDIR)/etc/firejail/. | 85 | install -c -m 0644 etc/chromium.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
82 | install -c -m 0644 etc/disable-mgmt.inc $(DESTDIR)/etc/firejail/. | 86 | install -c -m 0644 etc/disable-mgmt.inc $(DESTDIR)/$(sysconfdir)/firejail/. |
83 | install -c -m 0644 etc/disable-secret.inc $(DESTDIR)/etc/firejail/. | 87 | install -c -m 0644 etc/disable-secret.inc $(DESTDIR)/$(sysconfdir)/firejail/. |
84 | install -c -m 0644 etc/disable-common.inc $(DESTDIR)/etc/firejail/. | 88 | install -c -m 0644 etc/disable-common.inc $(DESTDIR)/$(sysconfdir)/firejail/. |
85 | install -c -m 0644 etc/disable-history.inc $(DESTDIR)/etc/firejail/. | 89 | install -c -m 0644 etc/disable-history.inc $(DESTDIR)/$(sysconfdir)/firejail/. |
86 | install -c -m 0644 etc/dropbox.profile $(DESTDIR)/etc/firejail/. | 90 | install -c -m 0644 etc/dropbox.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
87 | install -c -m 0644 etc/opera.profile $(DESTDIR)/etc/firejail/. | 91 | install -c -m 0644 etc/opera.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
88 | install -c -m 0644 etc/thunderbird.profile $(DESTDIR)/etc/firejail/. | 92 | install -c -m 0644 etc/thunderbird.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
89 | install -c -m 0644 etc/transmission-gtk.profile $(DESTDIR)/etc/firejail/. | 93 | install -c -m 0644 etc/transmission-gtk.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
90 | install -c -m 0644 etc/transmission-qt.profile $(DESTDIR)/etc/firejail/. | 94 | install -c -m 0644 etc/transmission-qt.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
91 | install -c -m 0644 etc/vlc.profile $(DESTDIR)/etc/firejail/. | 95 | install -c -m 0644 etc/vlc.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
92 | install -c -m 0644 etc/deluge.profile $(DESTDIR)/etc/firejail/. | 96 | install -c -m 0644 etc/deluge.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
93 | install -c -m 0644 etc/qbittorrent.profile $(DESTDIR)/etc/firejail/. | 97 | install -c -m 0644 etc/qbittorrent.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
94 | install -c -m 0644 etc/generic.profile $(DESTDIR)/etc/firejail/. | 98 | install -c -m 0644 etc/generic.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
95 | install -c -m 0644 etc/pidgin.profile $(DESTDIR)/etc/firejail/. | 99 | install -c -m 0644 etc/pidgin.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
96 | install -c -m 0644 etc/xchat.profile $(DESTDIR)/etc/firejail/. | 100 | install -c -m 0644 etc/xchat.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
97 | install -c -m 0644 etc/empathy.profile $(DESTDIR)/etc/firejail/. | 101 | install -c -m 0644 etc/empathy.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
98 | install -c -m 0644 etc/server.profile $(DESTDIR)/etc/firejail/. | 102 | install -c -m 0644 etc/server.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
99 | install -c -m 0644 etc/icecat.profile $(DESTDIR)/etc/firejail/. | 103 | install -c -m 0644 etc/icecat.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
100 | install -c -m 0644 etc/quassel.profile $(DESTDIR)/etc/firejail/. | 104 | install -c -m 0644 etc/quassel.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
101 | install -c -m 0644 etc/deadbeef.profile $(DESTDIR)/etc/firejail/. | 105 | install -c -m 0644 etc/deadbeef.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
102 | install -c -m 0644 etc/filezilla.profile $(DESTDIR)/etc/firejail/. | 106 | install -c -m 0644 etc/filezilla.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
103 | install -c -m 0644 etc/fbreader.profile $(DESTDIR)/etc/firejail/. | 107 | install -c -m 0644 etc/fbreader.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
104 | bash -c "if [ ! -f /etc/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/etc/firejail/.; fi;" | 108 | bash -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" |
105 | # man pages | 109 | # man pages |
106 | rm -f firejail.1.gz | 110 | rm -f firejail.1.gz |
107 | gzip -9n firejail.1 | 111 | gzip -9n firejail.1 |
@@ -111,17 +115,17 @@ realinstall: | |||
111 | gzip -9n firejail-profile.5 | 115 | gzip -9n firejail-profile.5 |
112 | rm -f firejail-login.5.gz | 116 | rm -f firejail-login.5.gz |
113 | gzip -9n firejail-login.5 | 117 | gzip -9n firejail-login.5 |
114 | mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man1 | 118 | mkdir -p $(DESTDIR)/$(mandir)/man1 |
115 | install -c -m 0644 firejail.1.gz $(DESTDIR)/$(PREFIX)/share/man/man1/. | 119 | install -c -m 0644 firejail.1.gz $(DESTDIR)/$(mandir)/man1/. |
116 | install -c -m 0644 firemon.1.gz $(DESTDIR)/$(PREFIX)/share/man/man1/. | 120 | install -c -m 0644 firemon.1.gz $(DESTDIR)/$(mandir)/man1/. |
117 | mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man5 | 121 | mkdir -p $(DESTDIR)/$(mandir)/man5 |
118 | install -c -m 0644 firejail-profile.5.gz $(DESTDIR)/$(PREFIX)/share/man/man5/. | 122 | install -c -m 0644 firejail-profile.5.gz $(DESTDIR)/$(mandir)/man5/. |
119 | install -c -m 0644 firejail-login.5.gz $(DESTDIR)/$(PREFIX)/share/man/man5/. | 123 | install -c -m 0644 firejail-login.5.gz $(DESTDIR)/$(mandir)/man5/. |
120 | rm -f firejail.1.gz firemon.1.gz firejail-profile.5.gz firejail-login.5.gz | 124 | rm -f firejail.1.gz firemon.1.gz firejail-profile.5.gz firejail-login.5.gz |
121 | # bash completion | 125 | # bash completion |
122 | mkdir -p $(DESTDIR)/$(PREFIX)/share/bash-completion/completions | 126 | mkdir -p $(DESTDIR)/$(datarootdir)/bash-completion/completions |
123 | install -c -m 0644 src/bash_completion/firejail.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firejail | 127 | install -c -m 0644 src/bash_completion/firejail.bash_completion $(DESTDIR)/$(datarootdir)/bash-completion/completions/firejail |
124 | install -c -m 0644 src/bash_completion/firemon.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firemon | 128 | install -c -m 0644 src/bash_completion/firemon.bash_completion $(DESTDIR)/$(datarootdir)/bash-completion/completions/firemon |
125 | 129 | ||
126 | 130 | ||
127 | install: all | 131 | install: all |
@@ -135,16 +139,16 @@ install-strip: all | |||
135 | $(MAKE) realinstall | 139 | $(MAKE) realinstall |
136 | 140 | ||
137 | uninstall: | 141 | uninstall: |
138 | rm -f $(DESTDIR)/$(PREFIX)/bin/firejail | 142 | rm -f $(DESTDIR)/$(bindir)/firejail |
139 | rm -f $(DESTDIR)/$(PREFIX)/bin/firemon | 143 | rm -f $(DESTDIR)/$(bindir)/firemon |
140 | rm -fr $(DESTDIR)/$(PREFIX)/lib/firejail | 144 | rm -fr $(DESTDIR)/$(libdir)/firejail |
141 | rm -fr $(DESTDIR)/$(PREFIX)/share/doc/firejail | 145 | rm -fr $(DESTDIR)/$(datarootdir)/doc/firejail |
142 | rm -f $(DESTDIR)/$(PREFIX)/share/man/man1/firejail.1* | 146 | rm -f $(DESTDIR)/$(mandir)/man1/firejail.1* |
143 | rm -f $(DESTDIR)/$(PREFIX)/share/man/man1/firemon.1* | 147 | rm -f $(DESTDIR)/$(mandir)/man1/firemon.1* |
144 | rm -f $(DESTDIR)/$(PREFIX)/share/man/man5/firejail-profile.5* | 148 | rm -f $(DESTDIR)/$(mandir)/man5/firejail-profile.5* |
145 | rm -f $(DESTDIR)/$(PREFIX)/share/man/man5/firejail-login.5* | 149 | rm -f $(DESTDIR)/$(mandir)/man5/firejail-login.5* |
146 | rm -f $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firejail | 150 | rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firejail |
147 | rm -f $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firemon | 151 | rm -f $(DESTDIR)/$(datarootdir)/bash-completion/completions/firemon |
148 | 152 | ||
149 | dist: | 153 | dist: |
150 | make distclean | 154 | make distclean |