/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-21 04:22:50 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080921042250-r0qqjsbz2ulfo5le
* Makefile: Bug fix: fix syntax error.

* debian/control: Depend on "po-debconf".
  (mandos, mandos-client): Add "${misc:Depends}", used by
                           dh_installdebconf.

* debian/mandos-client.config: New; show note.
* debian/mandos-client.template: New.

* debian/mandos.README.Debian: New.

* debian/mandos.config: New; show note.
* debian/mandos.prerm: New; stop daemon.
* debian/mandos.template: New.

* debian/po/POTFILES.in: New.
* debian/po/sv.po: New.

* debian/rules (clean): Added "debconf-updatepo" as suggested by
                        po-debconf(7).
  (binary-common): Added "dh_installdebconf" to use "debian/*.config"
                   and "debian/*.template" files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
# DocBook-to-man post-processing to fix a '\n' escape bug
56
56
MANPOST=sed --in-place --expression='s,\\\\en,\\en,g;s,\\n,\\en,g'
57
57
 
58
 
PLUGINS=plugins.d/password-prompt plugins.d/mandos-client \
59
 
        plugins.d/usplash plugins.d/splashy
 
58
PLUGINS=plugins.d/password-prompt plugins.d/mandos-client
60
59
PROGS=plugin-runner $(PLUGINS)
61
60
DOCS=mandos.8 plugin-runner.8mandos mandos-keygen.8 \
62
61
        plugins.d/mandos-client.8mandos \
152
151
                $(DESTDIR)/etc/init.d/mandos
153
152
        install --mode=u=rw,go=r default-mandos \
154
153
                $(DESTDIR)/etc/default/mandos
155
 
        if [ -z $(DESTDIR) ]; then \
156
 
                update-rc.d mandos defaults 25 15;\
157
 
        fi
 
154
        if [ -z $(DESTDIR) ]; then update-rc.d mandos defaults; fi
158
155
        gzip --best --to-stdout mandos.8 \
159
156
                > $(MANDIR)/man8/mandos.8.gz
160
157
        gzip --best --to-stdout mandos.conf.5 \
180
177
        install --mode=u=rwxs,go=rx \
181
178
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
182
179
                plugins.d/mandos-client
183
 
        install --mode=u=rwxs,go=rx \
 
180
        install --mode=u=rwx,go=rx \
184
181
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
185
182
                plugins.d/usplash
186
 
        install --mode=u=rwxs,go=rx \
187
 
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
188
 
                plugins.d/splashy
189
183
        install initramfs-tools-hook \
190
184
                $(INITRAMFSTOOLS)/hooks/mandos
191
185
        install --mode=u=rw,go=r initramfs-tools-hook-conf \
228
222
                $(PREFIX)/lib/mandos/plugins.d/password-prompt \
229
223
                $(PREFIX)/lib/mandos/plugins.d/mandos-client \
230
224
                $(PREFIX)/lib/mandos/plugins.d/usplash \
231
 
                $(PREFIX)/lib/mandos/plugins.d/splashy \
232
225
                $(INITRAMFSTOOLS)/hooks/mandos \
233
226
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos \
234
227
                $(INITRAMFSTOOLS)/scripts/local-top/mandos \