~siretart/cryptsetup/debian

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Reinhard Tartler
  • Date: 2008-08-06 13:15:04 UTC
  • Revision ID: siretart@tauware.de-20080806131504-lm6wr3syvblxmm4b
import cryptsetup_1.0.6-3.dsc

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
31
31
        INSTALL_PROGRAM += -s
32
32
endif
 
33
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 
34
    NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 
35
    MAKEFLAGS += -j$(NUMJOBS)
 
36
endif
33
37
 
34
38
# Include quilt stuff.
35
39
include /usr/share/quilt/quilt.make
60
64
        dh_testdir
61
65
        sed 's/VERSION/$(DEB_VERSION)/;s/DATE/$(DEB_DATE)/' \
62
66
                debian/doc/variables.xml.in > debian/doc/variables.xml
63
 
        xsltproc --xinclude -o debian/doc/                                      \
 
67
        xsltproc --nonet --xinclude -o debian/doc/                                      \
64
68
                /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl   \
65
69
                debian/doc/manpages.xml
66
70
        pod2man --section=8 --center="Administrative commands" --release="" debian/scripts/luksformat \
136
140
        dh_installinit -a --no-start --name=cryptdisks-early --update-rcd-params="start 26 S . start 59 0 6 ."
137
141
        dh_installinit -a --no-start --name=cryptdisks --update-rcd-params="start 28 S . start 48 0 6 ."
138
142
        dh_installman -a debian/doc/crypttab.5 debian/doc/cryptdisks_start.8 debian/doc/cryptdisks_stop.8 debian/luksformat.8
 
143
        dh_installudev -a
139
144
        cp -a $(CURDIR)/debian/cryptsetup/etc $(CURDIR)/debian/cryptsetup-udeb/
140
145
        cp -a $(CURDIR)/debian/cryptsetup/lib $(CURDIR)/debian/cryptsetup-udeb/
141
146
        cp -a $(CURDIR)/debian/cryptsetup/sbin $(CURDIR)/debian/cryptsetup-udeb/