/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 00:54:24 UTC
  • mto: This revision was merged to the branch mainline in revision 188.
  • Revision ID: teddy@fukt.bsnet.se-20080919005424-2kw5e1h9pjygj4ug
* debian/mandos.postinst: New. Create mandos user and group.

* debian/mandos.postrm: New.  Delete mandos user and group.

* initramfs-tools-hook: Add "--userid" and "--groupid" to
                        "plugin-runner.conf" if necessary.

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