/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: 2019-08-18 19:51:10 UTC
  • mfrom: (1161 trunk)
  • mto: This revision was merged to the branch mainline in revision 1162.
  • Revision ID: teddy@recompile.se-20190818195110-x6uo0ro2oa4uoq07
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
                        --variable=systemdsystemunitdir)
90
90
TMPFILES:=$(DESTDIR)$(shell $(PKG_CONFIG) systemd \
91
91
                        --variable=tmpfilesdir)
 
92
SYSUSERS:=$(DESTDIR)$(shell $(PKG_CONFIG) systemd \
 
93
                        --variable=sysusersdir)
92
94
 
93
95
GNUTLS_CFLAGS:=$(shell $(PKG_CONFIG) --cflags-only-I gnutls)
94
96
GNUTLS_LIBS:=$(shell $(PKG_CONFIG) --libs gnutls)
390
392
                install --mode=u=rw,go=r tmpfiles.d-mandos.conf \
391
393
                        $(TMPFILES)/mandos.conf; \
392
394
        fi
 
395
        if [ "$(SYSUSERS)" != "$(DESTDIR)" \
 
396
                        -a -d "$(SYSUSERS)" ]; then \
 
397
                install --mode=u=rw,go=r sysusers.d-mandos.conf \
 
398
                        $(SYSUSERS)/mandos.conf; \
 
399
        fi
393
400
        install --mode=u=rwx,go=rx mandos $(PREFIX)/sbin/mandos
394
401
        install --mode=u=rwx,go=rx --target-directory=$(PREFIX)/sbin \
395
402
                mandos-ctl
429
436
        install --directory --mode=u=rwx $(KEYDIR) \
430
437
                $(LIBDIR)/mandos/plugins.d \
431
438
                $(LIBDIR)/mandos/plugin-helpers
 
439
        if [ "$(SYSUSERS)" != "$(DESTDIR)" \
 
440
                        -a -d "$(SYSUSERS)" ]; then \
 
441
                install --mode=u=rw,go=r sysusers.d-mandos.conf \
 
442
                        $(SYSUSERS)/mandos-client.conf; \
 
443
        fi
432
444
        if [ "$(CONFDIR)" != "$(LIBDIR)/mandos" ]; then \
433
445
                install --mode=u=rwx \
434
446
                        --directory "$(CONFDIR)/plugins.d" \