~ubuntu-branches/ubuntu/oneiric/gpib/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-10-11 13:38:23 UTC
  • mfrom: (1.1.5 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20081011133823-ersg8mnxa8ry3lmk
Tags: 3.2.11-0.2
* Non-maintainer upload.
* revert
  * libgpib-bin.postinst. Replace pwd with $(CURDIDR).
* drop update-modules call from libgpib-bin.postinst

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
kdist_configure: kdist_config
109
109
 
110
110
KO := k
111
 
GPIB_MODULE_SUBDIRS := agilent_82350b agilent_82357a cb7210 cec hp_82335 hp_82341 \
112
 
                       ines nec7210 pc2 sys tms9914 tnt4882 ni_usb
113
 
 
114
 
GPIB_ABS_MODULE_SUBDIRS :=$(patsubst %, $(CURDIR)/%/, $(GPIB_MODULE_SUBDIRS))
115
111
 
116
112
binary-modules: prep-deb-files
117
113
        dh_testdir
118
114
        dh_testroot
119
115
        dh_clean -k
120
 
        $(MAKE) -C $(KSRC) V=1 MODVERSIONS=detect modules\
121
 
                CC="$(CC) -I$(CURDIR) -I$(CURDIR)/include" \
122
 
                SUBDIRS="$(GPIB_ABS_MODULE_SUBDIRS)" \
123
 
                MODVERDIR="$(CURDIR)/.tmp-versions"
 
116
        $(MAKE) -C $(KSRC) CC="$(CC) -I$(CURDIR) -I$(CURDIR)/include" \
 
117
                SUBDIRS="$(CURDIR)" \
 
118
                MODVERDIR="$(CURDIR)/.tmp-versions" modules
124
119
        install -d $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/gpib
125
120
        install -m644 */*.$(KO)o \
126
121
                $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/gpib/