/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-21 12:04:02 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080921120402-mgd2jl8xo634jw18
* Makefile: Put the init script before avahi-daemon.

* debian/mandos.prerm: Bug fix: stop mandos, not ssh.

* debian/rules (install-indep): Put the init script before
                                avahi-daemon.

* init.d/mandos: Require "avahi-daemon".

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