/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-12 19:12:40 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080912191240-edjlcll43eoijkx0
* Makefile (install): Use "install-client-nokey".
  (install-server): Create "/etc/default" and "/usr/sbin", too.
  (install-client): Do not depend on "$(INITRAMFSTOOLS)/hooks/.".
                    Renamed to "install-client-nokey".  Split out
                    post-installation-stuff to new "install-client"
                    target.

* mandos-clients.conf.xml: White space adjustments.
* mandos-keygen.xml: - '' -
* mandos.conf.xml: - '' -
* mandos.xml: - '' -
* plugin-runner.xml: - '' -
* plugins.d/mandos-client.xml: - '' -

* overview.xml: Improved grammar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
install: install-server install-client-nokey
142
142
 
143
143
install-server: doc
144
 
        install --directory $(CONFDIR)
 
144
        install --directory $(CONFDIR) $(MANDIR)/man5 \
 
145
                $(MANDIR)/man8 $(DESTDIR)/etc/init.d \
 
146
                $(DESTDIR)/etc/default $(PREFIX)/sbin
145
147
        install --mode=u=rwx,go=rx mandos $(PREFIX)/sbin/mandos
146
148
        install --mode=u=rw,go=r --target-directory=$(CONFDIR) \
147
149
                mandos.conf
151
153
                $(DESTDIR)/etc/init.d/mandos
152
154
        install --mode=u=rw,go=r default-mandos \
153
155
                $(DESTDIR)/etc/default/mandos
154
 
        if [ -z $(DESTDIR) ]; then update-rc.d mandos defaults; fi
 
156
        update-rc.d mandos defaults
155
157
        gzip --best --to-stdout mandos.8 \
156
158
                > $(MANDIR)/man8/mandos.8.gz
157
159
        gzip --best --to-stdout mandos.conf.5 \
160
162
                > $(MANDIR)/man5/mandos-clients.conf.5.gz
161
163
 
162
164
install-client-nokey: all doc
163
 
        install --directory $(PREFIX)/lib/mandos $(CONFDIR)
164
 
        install --directory --mode=u=rwx $(KEYDIR) \
 
165
        install --directory $(PREFIX)/lib/mandos $(CONFDIR) \
 
166
                $(MANDIR)/man8 $(PREFIX)/sbin \
 
167
                $(INITRAMFSTOOLS)/hooks \
 
168
                $(INITRAMFSTOOLS)/conf-hooks.d \
 
169
                $(INITRAMFSTOOLS)/scripts/local-top
 
170
        install --directory --mode=u=rwx $(KEYDIR)
 
171
        install --directory --mode=u=rwx \
165
172
                $(PREFIX)/lib/mandos/plugins.d
166
173
        if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \
167
174
                install --mode=u=rwx \
168
175
                        --directory "$(CONFDIR)/plugins.d"; \
 
176
                install --mode=u=rw,go=r etc-plugins.d-README \
 
177
                        $(CONFDIR)/plugins.d/README ; \
169
178
        fi
170
179
        install --mode=u=rwx,go=rx \
171
180
                --target-directory=$(PREFIX)/lib/mandos plugin-runner
182
191
                plugins.d/usplash
183
192
        install initramfs-tools-hook \
184
193
                $(INITRAMFSTOOLS)/hooks/mandos
185
 
        install --mode=u=rw,go=r initramfs-tools-hook-conf \
 
194
        install initramfs-tools-hook-conf \
186
195
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos
187
196
        install initramfs-tools-script \
188
197
                $(INITRAMFSTOOLS)/scripts/local-top/mandos