/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-06 16:11:50 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080906161150-1umb8yz6a29zxg28
* Makefile (install-client): Add "/etc/plugins.d/README".
  (uninstall-client): Remove "/etc/plugins.d/README".

* etc-plugins.d-README: New file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
        install --directory --mode=u=rwx $(KEYDIR)
157
157
        install --directory --mode=u=rwx \
158
158
                $(PREFIX)/lib/mandos/plugins.d
159
 
        if [ "$(CONFDIR)/plugins.d" \
160
 
                        != "$(PREFIX)/lib/mandos/plugins.d" ]; then \
 
159
        if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \
161
160
                install --mode=u=rwx \
162
161
                        --directory "$(CONFDIR)/plugins.d"; \
 
162
                install --mode=u=rw,go=r etc-plugins.d-README \
 
163
                        $(CONFDIR)/plugins.d/README ; \
163
164
        fi
164
165
        install --mode=u=rwx,go=rx \
165
166
                --target-directory=$(PREFIX)/lib/mandos plugin-runner
221
222
                $(MANDIR)/man8/mandos-keygen.8.gz \
222
223
                $(MANDIR)/man8/password-prompt.8mandos.gz \
223
224
                $(MANDIR)/man8/password-request.8mandos.gz
 
225
        if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \
 
226
                rm --force $(CONFDIR)/plugins.d/README; \
 
227
        fi
224
228
        -rmdir $(PREFIX)/lib/mandos/plugins.d $(CONFDIR)/plugins.d \
225
229
                 $(PREFIX)/lib/mandos $(CONFDIR) $(KEYDIR)
226
230
        update-initramfs -k all -u