~siretart/cryptsetup/debian

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Reinhard Tartler
  • Date: 2008-05-25 20:03:28 UTC
  • Revision ID: siretart@tauware.de-20080525200328-szhw0j5yw0p5kl33
import cryptsetup_1.0.6~pre1+svn45-1.dsc

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        dh_testdir
62
62
        asciidoc -d manpage -b docbook debian/crypttab.5.txt
63
63
        asciidoc -d manpage -b docbook debian/cryptdisks_start.8.txt
 
64
        asciidoc -d manpage -b docbook debian/cryptdisks_stop.8.txt
64
65
        sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' debian/crypttab.5.xml
65
66
        sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' debian/cryptdisks_start.8.xml
 
67
        sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' debian/cryptdisks_stop.8.xml
66
68
        xsltproc -o debian/crypttab.5 /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
67
69
                debian/crypttab.5.xml
68
70
        xsltproc -o debian/cryptdisks_start.8 /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
69
71
                debian/cryptdisks_start.8.xml
 
72
        xsltproc -o debian/cryptdisks_stop.8 /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
 
73
                debian/cryptdisks_stop.8.xml
70
74
        pod2man --section=8 --center="Administrative commands" --release="" debian/scripts/luksformat \
71
75
                debian/luksformat.8
72
76
        $(MAKE)
87
91
 
88
92
        rm -f debian/crypttab.5 debian/crypttab.5.xml debian/luksformat.8
89
93
        rm -f debian/cryptdisks_start.8 debian/cryptdisks_start.8.xml
 
94
        rm -f debian/cryptdisks_stop.8 debian/cryptdisks_stop.8.xml
90
95
        rm -f config.mess
91
96
        rm -rf autom4te.cache 
92
97
        rm -f src/cryptsetup.static
107
112
        install -m 0755 debian/checks/* $(CURDIR)/debian/cryptsetup/lib/cryptsetup/checks/
108
113
        install -m 0755 debian/scripts/luksformat $(CURDIR)/debian/cryptsetup/usr/sbin/
109
114
        install -m 0755 debian/scripts/cryptdisks_start $(CURDIR)/debian/cryptsetup/usr/sbin/
 
115
        install -m 0755 debian/scripts/cryptdisks_stop $(CURDIR)/debian/cryptsetup/usr/sbin/
110
116
        install -m 0755 debian/scripts/decrypt_* $(CURDIR)/debian/cryptsetup/lib/cryptsetup/scripts/
111
117
        install -m 0755 debian/initramfs/cryptroot-hook \
112
118
                $(CURDIR)/debian/cryptsetup/usr/share/initramfs-tools/hooks/cryptroot
122
128
                $(CURDIR)/debian/cryptsetup/usr/share/initramfs-tools/scripts/local-top/cryptopensc
123
129
        install -m 0755 debian/initramfs/cryptopensc-script-local-bottom \
124
130
                $(CURDIR)/debian/cryptsetup/usr/share/initramfs-tools/scripts/local-bottom/cryptopensc
 
131
        install -m 0644 debian/bash_completion $(CURDIR)/debian/cryptsetup/etc/bash_completion.d/cryptsetup
125
132
        rmdir $(CURDIR)/debian/cryptsetup/usr/lib/cryptsetup
126
133
 
127
134
binary-indep: build install
145
152
        rm -rf $(CURDIR)/debian/cryptsetup/usr/lib
146
153
 
147
154
#       dh_install
148
 
        dh_installman debian/crypttab.5 debian/luksformat.8 debian/cryptdisks_start.8
 
155
        dh_installman debian/crypttab.5 debian/luksformat.8 debian/cryptdisks_start.8 debian/cryptdisks_stop.8
149
156
        dh_link -a
150
157
        dh_strip -a
151
158
        dh_compress -a