/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: 2010-09-13 06:05:44 UTC
  • mfrom: (24.1.164 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20100913060544-34zz4pu9sezosnoi
Merge from Björn.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
        --expression='s/\(<a class="citerefentry" href="\)\("><span class="citerefentry"><span class="refentrytitle">\)\([^<]*\)\(<\/span>(\)\([^)]*\)\()<\/span><\/a>\)/\1\3.\5\2\3\4\5\6/g'
84
84
 
85
85
PLUGINS=plugins.d/password-prompt plugins.d/mandos-client \
86
 
        plugins.d/usplash plugins.d/splashy plugins.d/askpass-fifo
 
86
        plugins.d/usplash plugins.d/splashy plugins.d/askpass-fifo \
 
87
        plugins.d/plymouth
87
88
CPROGS=plugin-runner $(PLUGINS)
88
89
PROGS=mandos mandos-keygen mandos-ctl $(CPROGS)
89
90
DOCS=mandos.8 plugin-runner.8mandos mandos-keygen.8 \
233
234
# Run the server with a local config
234
235
run-server: confdir/mandos.conf confdir/clients.conf
235
236
        @echo "#################################################################"
236
 
        @echo "# NOTE: Please IGNORE errors about \"No permission to bind to    #"
237
 
        @echo "# interface\" or \"Could not open file u'/var/run/mandos.pid'\" -  #"
238
 
        @echo "# they are harmless and are caused by the server not running as #"
239
 
        @echo "# root.  Do NOT run \"make run-server\" server as root if you did #"
240
 
        @echo "# not also unpack and compile it as root.                       #"
 
237
        @echo "# NOTE: Please IGNORE the error about \"Could not open file      #"
 
238
        @echo "# u'/var/run/mandos.pid'\" -  it is harmless and is caused by    #"
 
239
        @echo "# the server not running as root.  Do NOT run \"make run-server\" #"
 
240
        @echo "# server as root if you didn't also unpack and compile it thus. #"
241
241
        @echo "#################################################################"
242
242
        ./mandos --debug --no-dbus --configdir=confdir $(SERVERARGS)
243
243
 
265
265
                mandos.conf
266
266
        install --mode=u=rw --target-directory=$(CONFDIR) \
267
267
                clients.conf
 
268
        install --mode=u=rw,go=r dbus-mandos.conf \
 
269
                $(DESTDIR)/etc/dbus-1/system.d/mandos.conf
268
270
        install --mode=u=rwx,go=rx init.d-mandos \
269
271
                $(DESTDIR)/etc/init.d/mandos
270
272
        install --mode=u=rw,go=r default-mandos \
306
308
        install --mode=u=rwxs,go=rx \
307
309
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
308
310
                plugins.d/askpass-fifo
 
311
        install --mode=u=rwxs,go=rx \
 
312
                --target-directory=$(PREFIX)/lib/mandos/plugins.d \
 
313
                plugins.d/plymouth
309
314
        install initramfs-tools-hook \
310
315
                $(INITRAMFSTOOLS)/hooks/mandos
311
316
        install --mode=u=rw,go=r initramfs-tools-hook-conf \
356
361
                $(PREFIX)/lib/mandos/plugins.d/usplash \
357
362
                $(PREFIX)/lib/mandos/plugins.d/splashy \
358
363
                $(PREFIX)/lib/mandos/plugins.d/askpass-fifo \
 
364
                $(PREFIX)/lib/mandos/plugins.d/plymouth \
359
365
                $(INITRAMFSTOOLS)/hooks/mandos \
360
366
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos \
361
367
                $(INITRAMFSTOOLS)/scripts/init-premount/mandos \
374
380
 
375
381
purge-server: uninstall-server
376
382
        -rm --force $(CONFDIR)/mandos.conf $(CONFDIR)/clients.conf \
 
383
                $(DESTDIR)/etc/dbus-1/system.d/mandos.conf
377
384
                $(DESTDIR)/etc/default/mandos \
378
385
                $(DESTDIR)/etc/init.d/mandos \
379
386
                $(DESTDIR)/var/run/mandos.pid