diff options
author | 2015-09-11 07:58:34 -0400 | |
---|---|---|
committer | 2015-09-11 07:58:34 -0400 | |
commit | 0215cbc02bbca4160ec5f2319b867b00b55713c6 (patch) | |
tree | 9b100904f5dfbc30e5ac9101c84070c69b15f019 /Makefile.in | |
parent | Merge pull request #60 from pstn/master (diff) | |
download | firejail-0215cbc02bbca4160ec5f2319b867b00b55713c6.tar.gz firejail-0215cbc02bbca4160ec5f2319b867b00b55713c6.tar.zst firejail-0215cbc02bbca4160ec5f2319b867b00b55713c6.zip |
make install, make install-strip
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 79 |
1 files changed, 6 insertions, 73 deletions
diff --git a/Makefile.in b/Makefile.in index 91e132088..10b057997 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -48,7 +48,7 @@ distclean: clean | |||
48 | done | 48 | done |
49 | rm -fr Makefile autom4te.cache config.log config.status config.h | 49 | rm -fr Makefile autom4te.cache config.log config.status config.h |
50 | 50 | ||
51 | install: all | 51 | realinstall: |
52 | # firejail executable | 52 | # firejail executable |
53 | mkdir -p $(DESTDIR)/$(PREFIX)/bin | 53 | mkdir -p $(DESTDIR)/$(PREFIX)/bin |
54 | install -c -m 0755 src/firejail/firejail $(DESTDIR)/$(PREFIX)/bin/. | 54 | install -c -m 0755 src/firejail/firejail $(DESTDIR)/$(PREFIX)/bin/. |
@@ -122,83 +122,16 @@ install: all | |||
122 | install -c -m 0644 src/bash_completion/firejail.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firejail | 122 | install -c -m 0644 src/bash_completion/firejail.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firejail |
123 | install -c -m 0644 src/bash_completion/firemon.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firemon | 123 | install -c -m 0644 src/bash_completion/firemon.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firemon |
124 | 124 | ||
125 | |||
126 | install: all | ||
127 | $(MAKE) realinstall | ||
128 | |||
125 | install-strip: all | 129 | install-strip: all |
126 | # firejail executable | ||
127 | strip src/firejail/firejail | 130 | strip src/firejail/firejail |
128 | mkdir -p $(DESTDIR)/$(PREFIX)/bin | ||
129 | install -c -m 0755 src/firejail/firejail $(DESTDIR)/$(PREFIX)/bin/. | ||
130 | chmod u+s $(DESTDIR)/$(PREFIX)/bin/firejail | ||
131 | # firemon executable | ||
132 | strip src/firemon/firemon | 131 | strip src/firemon/firemon |
133 | install -c -m 0755 src/firemon/firemon $(DESTDIR)/$(PREFIX)/bin/. | ||
134 | # libraries and plugins | ||
135 | strip src/libtrace/libtrace.so | 132 | strip src/libtrace/libtrace.so |
136 | mkdir -p $(DESTDIR)/$(PREFIX)/lib/firejail | ||
137 | install -c -m 0644 src/libtrace/libtrace.so $(DESTDIR)/$(PREFIX)/lib/firejail/. | ||
138 | strip src/ftee/ftee | 133 | strip src/ftee/ftee |
139 | install -c -m 0755 src/ftee/ftee $(DESTDIR)/$(PREFIX)/lib/firejail/. | 134 | $(MAKE) realinstall |
140 | install -c -m 0755 src/fshaper/fshaper.sh $(DESTDIR)/$(PREFIX)/lib/firejail/. | ||
141 | # documents | ||
142 | mkdir -p $(DESTDIR)/$(DOCDIR) | ||
143 | install -c -m 0644 COPYING $(DESTDIR)/$(DOCDIR)/. | ||
144 | install -c -m 0644 README $(DESTDIR)/$(DOCDIR)/. | ||
145 | install -c -m 0644 RELNOTES $(DESTDIR)/$(DOCDIR)/. | ||
146 | # etc files | ||
147 | mkdir -p $(DESTDIR)/etc/firejail | ||
148 | install -c -m 0644 etc/audacious.profile $(DESTDIR)/etc/firejail/. | ||
149 | install -c -m 0644 etc/clementine.profile $(DESTDIR)/etc/firejail/. | ||
150 | install -c -m 0644 etc/gnome-mplayer.profile $(DESTDIR)/etc/firejail/. | ||
151 | install -c -m 0644 etc/rhythmbox.profile $(DESTDIR)/etc/firejail/. | ||
152 | install -c -m 0644 etc/totem.profile $(DESTDIR)/etc/firejail/. | ||
153 | install -c -m 0644 etc/firefox.profile $(DESTDIR)/etc/firejail/. | ||
154 | install -c -m 0644 etc/icedove.profile $(DESTDIR)/etc/firejail/. | ||
155 | install -c -m 0644 etc/iceweasel.profile $(DESTDIR)/etc/firejail/. | ||
156 | install -c -m 0644 etc/midori.profile $(DESTDIR)/etc/firejail/. | ||
157 | install -c -m 0644 etc/evince.profile $(DESTDIR)/etc/firejail/. | ||
158 | install -c -m 0644 etc/chromium-browser.profile $(DESTDIR)/etc/firejail/. | ||
159 | install -c -m 0644 etc/chromium.profile $(DESTDIR)/etc/firejail/. | ||
160 | install -c -m 0644 etc/disable-mgmt.inc $(DESTDIR)/etc/firejail/. | ||
161 | install -c -m 0644 etc/disable-secret.inc $(DESTDIR)/etc/firejail/. | ||
162 | install -c -m 0644 etc/disable-common.inc $(DESTDIR)/etc/firejail/. | ||
163 | install -c -m 0644 etc/disable-history.inc $(DESTDIR)/etc/firejail/. | ||
164 | install -c -m 0644 etc/dropbox.profile $(DESTDIR)/etc/firejail/. | ||
165 | install -c -m 0644 etc/opera.profile $(DESTDIR)/etc/firejail/. | ||
166 | install -c -m 0644 etc/thunderbird.profile $(DESTDIR)/etc/firejail/. | ||
167 | install -c -m 0644 etc/transmission-gtk.profile $(DESTDIR)/etc/firejail/. | ||
168 | install -c -m 0644 etc/transmission-qt.profile $(DESTDIR)/etc/firejail/. | ||
169 | install -c -m 0644 etc/vlc.profile $(DESTDIR)/etc/firejail/. | ||
170 | install -c -m 0644 etc/deluge.profile $(DESTDIR)/etc/firejail/. | ||
171 | install -c -m 0644 etc/qbittorrent.profile $(DESTDIR)/etc/firejail/. | ||
172 | install -c -m 0644 etc/generic.profile $(DESTDIR)/etc/firejail/. | ||
173 | install -c -m 0644 etc/pidgin.profile $(DESTDIR)/etc/firejail/. | ||
174 | install -c -m 0644 etc/xchat.profile $(DESTDIR)/etc/firejail/. | ||
175 | install -c -m 0644 etc/empathy.profile $(DESTDIR)/etc/firejail/. | ||
176 | install -c -m 0644 etc/server.profile $(DESTDIR)/etc/firejail/. | ||
177 | install -c -m 0644 etc/icecat.profile $(DESTDIR)/etc/firejail/. | ||
178 | install -c -m 0644 etc/quassel.profile $(DESTDIR)/etc/firejail/. | ||
179 | install -c -m 0644 etc/deadbeef.profile $(DESTDIR)/etc/firejail/. | ||
180 | install -c -m 0644 etc/filezilla.profile $(DESTDIR)/etc/firejail/. | ||
181 | bash -c "if [ ! -f /etc/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/etc/firejail/.; fi;" | ||
182 | # man pages | ||
183 | rm -f firejail.1.gz | ||
184 | gzip -9n firejail.1 | ||
185 | rm -f firemon.1.gz | ||
186 | gzip -9n firemon.1 | ||
187 | rm -f firejail-profile.5.gz | ||
188 | gzip -9n firejail-profile.5 | ||
189 | rm -f firejail-login.5.gz | ||
190 | gzip -9n firejail-login.5 | ||
191 | mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man1 | ||
192 | install -c -m 0644 firejail.1.gz $(DESTDIR)/$(PREFIX)/share/man/man1/. | ||
193 | install -c -m 0644 firemon.1.gz $(DESTDIR)/$(PREFIX)/share/man/man1/. | ||
194 | mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man5 | ||
195 | install -c -m 0644 firejail-profile.5.gz $(DESTDIR)/$(PREFIX)/share/man/man5/. | ||
196 | install -c -m 0644 firejail-login.5.gz $(DESTDIR)/$(PREFIX)/share/man/man5/. | ||
197 | rm -f firejail.1.gz firemon.1.gz firejail-profile.5.gz firejail-login.5.gz | ||
198 | # bash completion | ||
199 | mkdir -p $(DESTDIR)/$(PREFIX)/share/bash-completion/completions | ||
200 | install -c -m 0644 src/bash_completion/firejail.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firejail | ||
201 | install -c -m 0644 src/bash_completion/firemon.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firemon | ||
202 | 135 | ||
203 | uninstall: | 136 | uninstall: |
204 | rm -f $(DESTDIR)/$(PREFIX)/bin/firejail | 137 | rm -f $(DESTDIR)/$(PREFIX)/bin/firejail |