/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

merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
CFLAGS=$(WARN) $(DEBUG) $(FORTIFY) $(COVERAGE) $(OPTIMIZE) \
46
46
        $(LANGUAGE) $(GNUTLS_CFLAGS) $(AVAHI_CFLAGS) $(GPGME_CFLAGS) \
47
47
        -DVERSION='"$(version)"'
48
 
LDFLAGS=$(COVERAGE) $(LINK_FORTIFY)
 
48
LDFLAGS=$(COVERAGE) $(foreach flag,$(LINK_FORTIFY),-Xlinker $(flag))
49
49
 
50
50
# Commands to format a DocBook <refentry> document into a manual page
51
51
DOCBOOKTOMAN=cd $(dir $<); xsltproc --nonet --xinclude \
76
76
PLUGINS=plugins.d/password-prompt plugins.d/mandos-client \
77
77
        plugins.d/usplash plugins.d/splashy plugins.d/askpass-fifo
78
78
CPROGS=plugin-runner $(PLUGINS)
79
 
PROGS=mandos mandos-keygen $(CPROGS)
 
79
PROGS=mandos mandos-keygen mandos-list $(CPROGS)
80
80
DOCS=mandos.8 plugin-runner.8mandos mandos-keygen.8 \
81
81
        plugins.d/mandos-client.8mandos \
82
82
        plugins.d/password-prompt.8mandos mandos.conf.5 \
163
163
                --expression='s/^\(VERSION="\)[^"]*"$$/\1$(version)"/' \
164
164
                $@
165
165
 
 
166
mandos-list: Makefile
 
167
        $(SED) --in-place \
 
168
                --expression='s/^\(version = "\)[^"]*"$$/\1$(version)"/' \
 
169
                $@
 
170
 
166
171
mandos.lsm: Makefile
167
172
        $(SED) --in-place \
168
173
                --expression='s/^\(Version:\).*/\1\t$(version)/' \