/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Teddy Hogeborn
  • Date: 2008-10-04 20:09:53 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081004200953-7j0fjlq6fqsxs9t2
* Makefile (DOCS): Added "plugins.d/askpass-fifo.8mandos".
  (install-client-nokey): Also install
                          "plugins.d/askpass-fifo.8mandos".
  (uninstall-client): Also uninstall "plugins.d/askpass-fifo.8mandos".

* plugins.d/askpass-fifo.xml: New.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#DEBUG=-ggdb3
10
10
# For info about _FORTIFY_SOURCE, see
11
11
# <http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html>
12
 
FORTIFY=-D_FORTIFY_SOURCE=2 # -fstack-protector-all
 
12
FORTIFY=-D_FORTIFY_SOURCE=2 -fstack-protector-all
13
13
#COVERAGE=--coverage
14
14
OPTIMIZE=-Os
15
15
LANGUAGE=-std=gnu99
78
78
DOCS=mandos.8 plugin-runner.8mandos mandos-keygen.8 \
79
79
        plugins.d/mandos-client.8mandos \
80
80
        plugins.d/password-prompt.8mandos mandos.conf.5 \
81
 
        mandos-clients.conf.5
 
81
        plugins.d/usplash.8mandos plugins.d/splashy.8mandos \
 
82
        plugins.d/askpass-fifo.8mandos mandos-clients.conf.5
82
83
 
83
84
htmldocs=$(addsuffix .xhtml,$(DOCS))
84
85
 
149
150
        $(SED) --in-place --expression='s/^\(<ENTITY VERSION "\)[^"]*">$$/\1$(version)"/' $@
150
151
 
151
152
mandos: Makefile
152
 
        $(SED) --in-place --expression='s/^\(version = "\)[^"]*"/\1$(version)"/' $@
 
153
        $(SED) --in-place --expression='s/^\(version = "\)[^"]*"$$/\1$(version)"/' $@
153
154
 
154
155
mandos-keygen: Makefile
155
 
        $(SED) --in-place --expression='s/^\(VERSION="\)[^"]*"/\1$(version)"/' $@
 
156
        $(SED) --in-place --expression='s/^\(VERSION="\)[^"]*"$$/\1$(version)"/' $@
156
157
 
157
158
plugins.d/mandos-client: plugins.d/mandos-client.o
158
159
        $(LINK.o) $(GNUTLS_LIBS) $(AVAHI_LIBS) $(GPGME_LIBS) \
268
269
                > $(MANDIR)/man8/password-prompt.8mandos.gz
269
270
        gzip --best --to-stdout plugins.d/mandos-client.8mandos \
270
271
                > $(MANDIR)/man8/mandos-client.8mandos.gz
 
272
        gzip --best --to-stdout plugins.d/usplash.8mandos \
 
273
                > $(MANDIR)/man8/usplash.8mandos.gz
 
274
        gzip --best --to-stdout plugins.d/splashy.8mandos \
 
275
                > $(MANDIR)/man8/splashy.8mandos.gz
 
276
        gzip --best --to-stdout plugins.d/askpass-fifo.8mandos \
 
277
                > $(MANDIR)/man8/askpass-fifo.8mandos.gz
271
278
 
272
279
install-client: install-client-nokey
273
280
# Post-installation stuff
296
303
                $(PREFIX)/lib/mandos/plugins.d/mandos-client \
297
304
                $(PREFIX)/lib/mandos/plugins.d/usplash \
298
305
                $(PREFIX)/lib/mandos/plugins.d/splashy \
 
306
                $(PREFIX)/lib/mandos/plugins.d/askpass-fifo \
299
307
                $(INITRAMFSTOOLS)/hooks/mandos \
300
308
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos \
301
309
                $(INITRAMFSTOOLS)/scripts/local-top/mandos \
302
310
                $(MANDIR)/man8/plugin-runner.8mandos.gz \
303
311
                $(MANDIR)/man8/mandos-keygen.8.gz \
304
312
                $(MANDIR)/man8/password-prompt.8mandos.gz \
 
313
                $(MANDIR)/man8/usplash.8mandos.gz \
 
314
                $(MANDIR)/man8/splashy.8mandos.gz \
 
315
                $(MANDIR)/man8/askpass-fifo.8mandos.gz \
305
316
                $(MANDIR)/man8/mandos-client.8mandos.gz
306
 
        if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \
307
 
                rm --force $(CONFDIR)/plugins.d/README; \
308
 
        fi
309
317
        -rmdir $(PREFIX)/lib/mandos/plugins.d $(CONFDIR)/plugins.d \
310
318
                 $(PREFIX)/lib/mandos $(CONFDIR) $(KEYDIR)
311
319
        update-initramfs -k all -u