/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-01 15:29:01 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081001152901-fh30whl3m4vb7m24
* debian/changelog: New Debian revision.

* debian/mandos-client.lintian-overrides: Added comments.
* debian/mandos.lintian-overrides: - '' -

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
 
        plugins.d/usplash.8mandos plugins.d/splashy.8mandos \
82
81
        mandos-clients.conf.5
83
82
 
84
83
htmldocs=$(addsuffix .xhtml,$(DOCS))
150
149
        $(SED) --in-place --expression='s/^\(<ENTITY VERSION "\)[^"]*">$$/\1$(version)"/' $@
151
150
 
152
151
mandos: Makefile
153
 
        $(SED) --in-place --expression='s/^\(version = "\)[^"]*"$$/\1$(version)"/' $@
 
152
        $(SED) --in-place --expression='s/^\(version = "\)[^"]*"/\1$(version)"/' $@
154
153
 
155
154
mandos-keygen: Makefile
156
 
        $(SED) --in-place --expression='s/^\(VERSION="\)[^"]*"$$/\1$(version)"/' $@
 
155
        $(SED) --in-place --expression='s/^\(VERSION="\)[^"]*"/\1$(version)"/' $@
157
156
 
158
157
plugins.d/mandos-client: plugins.d/mandos-client.o
159
158
        $(LINK.o) $(GNUTLS_LIBS) $(AVAHI_LIBS) $(GPGME_LIBS) \
269
268
                > $(MANDIR)/man8/password-prompt.8mandos.gz
270
269
        gzip --best --to-stdout plugins.d/mandos-client.8mandos \
271
270
                > $(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
271
 
277
272
install-client: install-client-nokey
278
273
# Post-installation stuff
307
302
                $(MANDIR)/man8/plugin-runner.8mandos.gz \
308
303
                $(MANDIR)/man8/mandos-keygen.8.gz \
309
304
                $(MANDIR)/man8/password-prompt.8mandos.gz \
310
 
                $(MANDIR)/man8/usplash.8mandos.gz \
311
 
                $(MANDIR)/man8/splashy.8mandos.gz \
312
305
                $(MANDIR)/man8/mandos-client.8mandos.gz
313
306
        -rmdir $(PREFIX)/lib/mandos/plugins.d $(CONFDIR)/plugins.d \
314
307
                 $(PREFIX)/lib/mandos $(CONFDIR) $(KEYDIR)