/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 14:05:44 UTC
  • mfrom: (24.1.103 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20080921140544-e9qo7alcl0bne2mn
Merge.

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