chiark / gitweb /
debian/: Move ucgi into userv-utils
[userv-utils.git] / debian / rules
index 76e59ff..6ff8c3b 100755 (executable)
@@ -63,10 +63,16 @@ override_dh_auto_install:
                mv userv-ipif userv-utils;              \
                cd userv-utils;                         \
                mv service.c.txt ipif.txt
-       -
        cp -al debian/userv-ipif/. debian/userv-utils/.
        -
-       mv debian/userv-www-cgi debian/userv-cgi
+       set -e; cd debian/userv-www-cgi/usr/share/doc;  \
+               mv userv-cgi userv-utils;               \
+               cd userv-utils;                         \
+               rename 's/^/ucgi-/' *
+       cp -al debian/userv-www-cgi/. debian/userv-utils/.
+       cp www-cgi/www-cgi \
+               debian/userv-utils/etc/userv/services.d/ucgi
+       -
        mv debian/userv-groupmanage/usr/share/doc/groupmanage \
           debian/userv-groupmanage/usr/share/doc/userv-groupmanage
        -