~jon-raiford/mythbuntu/lirc

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Mario Limonciello
  • Date: 2009-10-10 02:05:56 UTC
  • mfrom: (114.1.12 ubuntu)
  • Revision ID: superm1@ubuntu.com-20091010020556-wl6h56405u92myro
merge with jeremey's branch again.  any fixes will come up in following commits.  much easier that way

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        rm -f configure-stamp build-stamp
39
39
        rm -f debian/modules-source/dkms.conf
40
40
        debconf-updatepo
 
41
        [ ! -f doc/lirc.hwdb.orig ] || mv -f doc/lirc.hwdb.orig doc/lirc.hwdb
41
42
        [ ! -f Makefile ] || $(MAKE) distclean
42
43
        @if [ ! "$(UVERS)" = "$(shell sed -n 's/^Version: \(.*\)/\1/p' debian/liblircclient0.pc)" ]; then \
43
44
                echo "ERROR: debian/liblircclient0.pc out of date."; \
48
49
configure: patch configure-stamp
49
50
configure-stamp:
50
51
        dh_testdir
 
52
        [ ! -f doc/lirc.hwdb.orig ] && mv -f doc/lirc.hwdb doc/lirc.hwdb.orig && sed 's/lirc_dev lirc_gpio/devinput/' doc/lirc.hwdb.orig > doc/lirc.hwdb
51
53
        -test -r config.sub && test -r /usr/share/misc/config.sub && \
52
54
                cp -f /usr/share/misc/config.sub config.sub
53
55
        -test -r config.guess && test -r /usr/share/misc/config.guess && \
145
147
                debian/lirc/usr/share/doc/lirc/
146
148
        mkdir debian/lirc/usr/share/lirc
147
149
        cp -dpR remotes debian/lirc/usr/share/lirc/remotes
148
 
        sed 's/lirc_dev lirc_gpio/devinput/' doc/lirc.hwdb > debian/lirc/usr/share/lirc.hwdb
 
150
        cp -dpR debian/extras debian/lirc/usr/share/lirc/extras
 
151
        cp -dpR doc/lirc.hwdb debian/lirc/usr/share/lirc
 
152
        #sed 's/lirc_dev lirc_gpio/devinput/' doc/lirc.hwdb > debian/lirc/usr/share/lirc.hwdb
149
153
        dh_installexamples -s
150
154
        dh_install -s --sourcedir=debian/tmp --list-missing
151
155
        dh_installmenu -s