/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-09-17 00:36:05 UTC
  • mfrom: (24.1.95 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20080917003605-m64km1tbwn3wrpbf
Merge.

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/usplash plugins.d/splashy plugins.d/askpass-fifo
 
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
        update-rc.d mandos defaults
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" && \
 
169
                install --mode=u=rw,go=r etc-plugins.d-README \
 
170
                        $(CONFDIR)/plugins.d/README ; \
172
171
        fi
173
172
        install --mode=u=rwx,go=rx \
174
173
                --target-directory=$(PREFIX)/lib/mandos plugin-runner
180
179
        install --mode=u=rwxs,go=rx \
181
180
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
182
181
                plugins.d/mandos-client
183
 
        install --mode=u=rwxs,go=rx \
 
182
        install --mode=u=rwx,go=rx \
184
183
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
185
184
                plugins.d/usplash
186
 
        install --mode=u=rwxs,go=rx \
187
 
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
188
 
                plugins.d/splashy
189
 
        install --mode=u=rwxs,go=rx \
190
 
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
191
 
                plugins.d/askpass-fifo
192
185
        install initramfs-tools-hook \
193
186
                $(INITRAMFSTOOLS)/hooks/mandos
194
187
        install --mode=u=rw,go=r initramfs-tools-hook-conf \
231
224
                $(PREFIX)/lib/mandos/plugins.d/password-prompt \
232
225
                $(PREFIX)/lib/mandos/plugins.d/mandos-client \
233
226
                $(PREFIX)/lib/mandos/plugins.d/usplash \
234
 
                $(PREFIX)/lib/mandos/plugins.d/splashy \
235
227
                $(INITRAMFSTOOLS)/hooks/mandos \
236
228
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos \
237
229
                $(INITRAMFSTOOLS)/scripts/local-top/mandos \