/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 13:50:22 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919135022-214t21hetv8jgv0y
* debian/mandos-client.docs: New.  Add README and TODO file.
* debian/mandos.docs: - '' -

* debian/mandos-client.links: New.  Create plugin-runner.conf(5) link.

* debian/rules (DH_VERBOSE): Commented out.
               Removed commented-out unused dh_* stuff.  Removed
               "dh_makeshlibs".

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
        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
183
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
185
        install initramfs-tools-hook \
190
186
                $(INITRAMFSTOOLS)/hooks/mandos
191
187
        install --mode=u=rw,go=r initramfs-tools-hook-conf \
228
224
                $(PREFIX)/lib/mandos/plugins.d/password-prompt \
229
225
                $(PREFIX)/lib/mandos/plugins.d/mandos-client \
230
226
                $(PREFIX)/lib/mandos/plugins.d/usplash \
231
 
                $(PREFIX)/lib/mandos/plugins.d/splashy \
232
227
                $(INITRAMFSTOOLS)/hooks/mandos \
233
228
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos \
234
229
                $(INITRAMFSTOOLS)/scripts/local-top/mandos \