/mandos/release

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

« back to all changes in this revision

Viewing changes to Makefile

* plugins.d/mandos-client.c: Use all interfaces.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
OPTIMIZE=-Os
24
24
LANGUAGE=-std=gnu99
25
25
htmldir=man
26
 
version=1.6.1
 
26
version=1.5.5
27
27
SED=sed
28
28
 
29
29
USER=$(firstword $(subst :, ,$(shell getent passwd _mandos || getent passwd nobody || echo 65534)))
56
56
        getconf LFS_LDFLAGS)
57
57
 
58
58
# Do not change these two
59
 
CFLAGS+=$(WARN) $(DEBUG) $(FORTIFY) $(COVERAGE) $(OPTIMIZE) \
 
59
CFLAGS=$(WARN) $(DEBUG) $(FORTIFY) $(COVERAGE) $(OPTIMIZE) \
60
60
        $(LANGUAGE) $(GNUTLS_CFLAGS) $(AVAHI_CFLAGS) $(GPGME_CFLAGS) \
61
61
        -DVERSION='"$(version)"'
62
 
LDFLAGS+=-Xlinker --as-needed $(COVERAGE) $(LINK_FORTIFY) $(foreach flag,$(LINK_FORTIFY_LD),-Xlinker $(flag))
 
62
LDFLAGS=-Xlinker --as-needed $(COVERAGE) $(LINK_FORTIFY) $(foreach flag,$(LINK_FORTIFY_LD),-Xlinker $(flag))
63
63
 
64
64
# Commands to format a DocBook <refentry> document into a manual page
65
65
DOCBOOKTOMAN=$(strip cd $(dir $<); xsltproc --nonet --xinclude \
241
241
 
242
242
check:  all
243
243
        ./mandos --check
244
 
        ./mandos-ctl --check
245
244
 
246
245
# Run the client with a local config and key
247
246
run-client: all keydir/seckey.txt keydir/pubkey.txt
339
338
                --target-directory=$(PREFIX)/lib/mandos plugin-runner
340
339
        install --mode=u=rwx,go=rx --target-directory=$(PREFIX)/sbin \
341
340
                mandos-keygen
342
 
        install --mode=u=rwx,go=rx --target-directory=$(PREFIX)/sbin \
343
 
                mandos-change-keytype
344
341
        install --mode=u=rwx,go=rx \
345
342
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
346
343
                plugins.d/password-prompt
409
406
        ! grep --regexp='^ *[^ #].*keyscript=[^,=]*/mandos/' \
410
407
                $(DESTDIR)/etc/crypttab
411
408
        -rm --force $(PREFIX)/sbin/mandos-keygen \
412
 
                $(PREFIX)/sbin/mandos-change-keytype \
413
409
                $(PREFIX)/lib/mandos/plugin-runner \
414
410
                $(PREFIX)/lib/mandos/plugins.d/password-prompt \
415
411
                $(PREFIX)/lib/mandos/plugins.d/mandos-client \
439
435
                $(DESTDIR)/etc/dbus-1/system.d/mandos.conf
440
436
                $(DESTDIR)/etc/default/mandos \
441
437
                $(DESTDIR)/etc/init.d/mandos \
442
 
                $(DESTDIR)/run/mandos.pid
 
438
                $(DESTDIR)/var/run/mandos.pid
443
439
        -rmdir $(CONFDIR)
444
440
 
445
441
purge-client: uninstall-client