/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-17 18:56:25 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081017185625-xrfv8oevzm7lyvl6
Tags: version-1.0.2-1
* Makefile (version): Changed to "1.0.2".
* NEWS (Version 1.0.2): New entry.
* debian/changelog (1.0.2-1): New entry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
        /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl \
71
71
        $<; $(HTMLPOST) $@
72
72
# Fix citerefentry links
73
 
HTMLPOST=$(SED) --in-place \
74
 
        --expression='s/\(<a class="citerefentry" href="\)\("><span class="citerefentry"><span class="refentrytitle">\)\([^<]*\)\(<\/span>(\)\([^)]*\)\()<\/span><\/a>\)/\1\3.\5\2\3\4\5\6/g'
 
73
HTMLPOST=$(SED) --in-place --expression='s/\(<a class="citerefentry" href="\)\("><span class="citerefentry"><span class="refentrytitle">\)\([^<]*\)\(<\/span>(\)\([^)]*\)\()<\/span><\/a>\)/\1\3.\5\2\3\4\5\6/g'
75
74
 
76
75
PLUGINS=plugins.d/password-prompt plugins.d/mandos-client \
77
76
        plugins.d/usplash plugins.d/splashy plugins.d/askpass-fifo
87
86
 
88
87
objects=$(addsuffix .o,$(CPROGS))
89
88
 
90
 
all: $(PROGS) mandos.lsm
 
89
all: $(PROGS)
91
90
 
92
91
doc: $(DOCS)
93
92
 
149
148
 
150
149
# Update all these files with version number $(version)
151
150
common.ent: Makefile
152
 
        $(SED) --in-place \
153
 
                --expression='s/^\(<ENTITY VERSION "\)[^"]*">$$/\1$(version)"/' \
154
 
                $@
 
151
        $(SED) --in-place --expression='s/^\(<ENTITY VERSION "\)[^"]*">$$/\1$(version)"/' $@
155
152
 
156
153
mandos: Makefile
157
 
        $(SED) --in-place \
158
 
                --expression='s/^\(version = "\)[^"]*"$$/\1$(version)"/' \
159
 
                $@
 
154
        $(SED) --in-place --expression='s/^\(version = "\)[^"]*"$$/\1$(version)"/' $@
160
155
 
161
156
mandos-keygen: Makefile
162
 
        $(SED) --in-place \
163
 
                --expression='s/^\(VERSION="\)[^"]*"$$/\1$(version)"/' \
164
 
                $@
165
 
 
166
 
mandos.lsm: Makefile
167
 
        $(SED) --in-place \
168
 
                --expression='s/^\(Version:\).*/\1\t$(version)/' \
169
 
                $@
170
 
        $(SED) --in-place \
171
 
                --expression='s/^\(Entered-date:\).*/\1\t$(shell date --rfc-3339=date --reference=Makefile)/' \
172
 
                $@
 
157
        $(SED) --in-place --expression='s/^\(VERSION="\)[^"]*"$$/\1$(version)"/' $@
173
158
 
174
159
plugins.d/mandos-client: plugins.d/mandos-client.o
175
160
        $(LINK.o) $(GNUTLS_LIBS) $(AVAHI_LIBS) $(GPGME_LIBS) \
217
202
 
218
203
install: install-server install-client-nokey
219
204
 
220
 
install-html: html
 
205
install-html: $(htmldocs)
221
206
        install --directory $(htmldir)
222
207
        install --mode=u=rw,go=r --target-directory=$(htmldir) \
223
208
                $(htmldocs)