/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

  • Committer: Teddy Hogeborn
  • Date: 2008-09-19 20:54:58 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919205458-f90xsypwa6k7fby1
* debian/control (mandos-client): Depend on "cryptsetup".

* debian/mandos-client.README.Debian: Add the text from
                                      "etc-plugins.d-README".

* debian/mandos-client.postrm (purge): Hide failures.

* etc-plugins.d-README: Removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
# DocBook-to-man post-processing to fix a '\n' escape bug
56
56
MANPOST=sed --in-place --expression='s,\\\\en,\\en,g;s,\\n,\\en,g'
57
57
 
58
 
PLUGINS=plugins.d/password-prompt plugins.d/mandos-client \
59
 
        plugins.d/splashy
 
58
PLUGINS=plugins.d/password-prompt plugins.d/mandos-client
60
59
PROGS=plugin-runner $(PLUGINS)
61
60
DOCS=mandos.8 plugin-runner.8mandos mandos-keygen.8 \
62
61
        plugins.d/mandos-client.8mandos \
152
151
                $(DESTDIR)/etc/init.d/mandos
153
152
        install --mode=u=rw,go=r default-mandos \
154
153
                $(DESTDIR)/etc/default/mandos
155
 
        if [ -z $(DESTDIR) ]; then \
156
 
                update-rc.d mandos defaults 25 15;\
157
 
        fi
 
154
        if [ -z $(DESTDIR) ]; then update-rc.d mandos defaults; fi
158
155
        gzip --best --to-stdout mandos.8 \
159
156
                > $(MANDIR)/man8/mandos.8.gz
160
157
        gzip --best --to-stdout mandos.conf.5 \
168
165
                $(PREFIX)/lib/mandos/plugins.d
169
166
        if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \
170
167
                install --mode=u=rwx \
171
 
                        --directory "$(CONFDIR)/plugins.d"; \
 
168
                        --directory "$(CONFDIR)/plugins.d" && \
172
169
        fi
173
170
        install --mode=u=rwx,go=rx \
174
171
                --target-directory=$(PREFIX)/lib/mandos plugin-runner
183
180
        install --mode=u=rwx,go=rx \
184
181
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
185
182
                plugins.d/usplash
186
 
        install --mode=u=rwxs,go=rx \
187
 
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
188
 
                plugins.d/splashy
189
183
        install initramfs-tools-hook \
190
184
                $(INITRAMFSTOOLS)/hooks/mandos
191
185
        install --mode=u=rw,go=r initramfs-tools-hook-conf \
228
222
                $(PREFIX)/lib/mandos/plugins.d/password-prompt \
229
223
                $(PREFIX)/lib/mandos/plugins.d/mandos-client \
230
224
                $(PREFIX)/lib/mandos/plugins.d/usplash \
231
 
                $(PREFIX)/lib/mandos/plugins.d/splashy \
232
225
                $(INITRAMFSTOOLS)/hooks/mandos \
233
226
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos \
234
227
                $(INITRAMFSTOOLS)/scripts/local-top/mandos \