/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-19 12:02:03 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919120203-xvsf3w1h0n2bvtkb
* debian/mandos-client.postinst: Use "type" instead of "which".  Split
                                 to functions.  Create key.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
                $(DESTDIR)/etc/init.d/mandos
152
152
        install --mode=u=rw,go=r default-mandos \
153
153
                $(DESTDIR)/etc/default/mandos
154
 
        if [ -z $(DESTDIR) ]; then \
155
 
                update-rc.d mandos defaults 25 15;\
156
 
        fi
 
154
        update-rc.d mandos defaults
157
155
        gzip --best --to-stdout mandos.8 \
158
156
                > $(MANDIR)/man8/mandos.8.gz
159
157
        gzip --best --to-stdout mandos.conf.5 \
167
165
                $(PREFIX)/lib/mandos/plugins.d
168
166
        if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \
169
167
                install --mode=u=rwx \
170
 
                        --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 ; \
171
171
        fi
172
172
        install --mode=u=rwx,go=rx \
173
173
                --target-directory=$(PREFIX)/lib/mandos plugin-runner