/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

Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
install-client: all doc /usr/share/initramfs-tools/hooks/.
100
100
        mkdir --mode=0755 --parents /usr/lib/mandos /etc/mandos
101
 
        mkdir --mode=0700 /usr/lib/mandos/plugins.d
 
101
        -mkdir --mode=0700 /usr/lib/mandos/plugins.d
102
102
        chmod u=rwx,g=,o= /usr/lib/mandos/plugins.d
103
103
        install --mode=0755 --target-directory=/usr/lib/mandos \
104
104
                mandos-client
121
121
                > /usr/share/man/man8/password-prompt.8mandos.gz
122
122
        gzip --best --to-stdout plugins.d/password-request.8mandos \
123
123
                > /usr/share/man/man8/password-request.8mandos.gz
124
 
        /usr/sbin/mandos-keygen
 
124
        -/usr/sbin/mandos-keygen
125
125
        update-initramfs -k all -u
126
126
 
127
127
uninstall: uninstall-server uninstall-client
130
130
        -rm --force /usr/sbin/mandos /usr/share/man/man8/mandos.8.gz \
131
131
                /usr/share/man/man5/mandos.conf.5.gz \
132
132
                /usr/share/man/man5/mandos-clients.conf.5.gz
133
 
        -rmdir --force /etc/mandos
 
133
        -rmdir /etc/mandos
134
134
 
135
135
uninstall-client:
136
136
        -rm --force /usr/sbin/mandos-keygen \
143
143
                /usr/share/man/man8/mandos-keygen.8.gz \
144
144
                /usr/share/man/man8/password-prompt.8mandos.gz \
145
145
                /usr/share/man/man8/password-request.8mandos.gz
146
 
        -rmdir --force /usr/lib/mandos/plugins.d /usr/lib/mandos \
 
146
        -rmdir /usr/lib/mandos/plugins.d /usr/lib/mandos \
147
147
                /etc/mandos/plugins.d /etc/mandos
148
148
 
149
149
purge: purge-server purge-client
150
150
 
151
151
purge-server: uninstall-server
152
 
        -rm --force /etc/mandos/server.conf /etc/mandos/clients.conf
153
 
        -rmdir --force /etc/mandos
 
152
        -rm --force /etc/mandos/mandos.conf /etc/mandos/clients.conf
 
153
        -rmdir /etc/mandos
154
154
 
155
155
purge-client: uninstall-client
156
156
        -rm --force /etc/mandos/seckey.txt /etc/mandos/pubkey.txt
157
 
        -rmdir --force /etc/mandos
 
157
        -rmdir /etc/mandos /etc/mandos/plugins.d