chiark / gitweb /
userv/distorted-keys.in: Rename from distorted-keys.userv.in.
[distorted-keys] / Makefile.am
index 4364761708d6536d46eb358961378c94122248cf..1fc452b038eacac867e10a0b2ffb667bf8467c45 100644 (file)
@@ -27,6 +27,7 @@ bin_SCRIPTS            =
 sbin_SCRIPTS            =
 dist_pkglib_SCRIPTS     =
 dist_pkglib_DATA        =
+noinst_DATA             =
 pkglib_DATA             =
 noinst_SCRIPTS          =
 
@@ -41,12 +42,13 @@ confsubst = $(top_srcdir)/config/confsubst
 EXTRA_DIST             += config/confsubst
 
 SUBSTVARS = \
-        PACKAGE="$(PACKAGE)" VERSION="$(VERSION)" \
+       PACKAGE="$(PACKAGE)" VERSION="$(VERSION)" \
        PYTHON="$(PYTHON)" \
-       bindir="$(bindir)" \
+       bindir="$(bindir)" sbindir="$(sbindir)" \
        pkgconfdir="$(sysconfdir)/$(PACKAGE)" \
        pkgstatedir="$(localstatedir)/$(PACKAGE)" \
-       pkglibdir="$(pkglibdir)"
+       pkglibdir="$(pkglibdir)" \
+       user="$(user)"
 
 SUBST = $(AM_V_GEN)$(confsubst)
 
@@ -91,6 +93,7 @@ keyfunc.sh: keyfunc.sh.in Makefile
                mv keyfunc.sh.new keyfunc.sh
 
 ## Commands.
+dist_pkglib_SCRIPTS    += keys.archive
 dist_pkglib_SCRIPTS    += keys.conceal
 dist_pkglib_SCRIPTS    += keys.keeper-cards
 dist_pkglib_SCRIPTS    += keys.new-keeper
@@ -116,6 +119,7 @@ dist_pkglib_DATA    += ktype.seccure
 
 ## Commands.
 dist_pkglib_SCRIPTS    += cryptop.genkey
+dist_pkglib_SCRIPTS    += cryptop.list
 dist_pkglib_SCRIPTS    += cryptop.delkey
 dist_pkglib_SCRIPTS    += cryptop.recover
 dist_pkglib_SCRIPTS    += cryptop.info
@@ -125,4 +129,14 @@ dist_pkglib_SCRIPTS        += cryptop.decrypt
 dist_pkglib_SCRIPTS    += cryptop.sign
 dist_pkglib_SCRIPTS    += cryptop.verify
 
+## Userv services configuration.
+noinst_DATA            += userv/distorted-keys
+EXTRA_DIST             += userv/distorted-keys.in
+CLEANFILES             += userv/distorted-keys
+userv/distorted-keys: userv/distorted-keys.in Makefile
+       $(AM_V_at)mkdir -p userv/
+       $(SUBST) $(srcdir)/userv/distorted-keys.in $(SUBSTVARS) \
+                       >userv/distorted-keys.new && \
+               mv userv/distorted-keys.new userv/distorted-keys
+
 ###----- That's all, folks --------------------------------------------------