/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 16:04:11 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919160411-9xeasm77gx5xpfqo
* Makefile (install-server): Only do update-rc.d if $(DESTDIR) is
                             empty.

* debian/control (Source: mandos): Do not depend on "docbook";
                                   "docbook-xsl" is enough.

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
        test -z $(DESTDIR) && 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