First implementation of standard dbus service
[wifihood] / wifiscand / debian / rules
index a0870df..4d72a01 100755 (executable)
@@ -34,7 +34,7 @@ build-stamp: configure-stamp
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE)
+       $(MAKE) wifiscand CPPFLAGS="-DHAVE_LIBOSSO"
 
        touch build-stamp
 
@@ -55,8 +55,7 @@ install: build
        dh_installdirs
 
        # Add here commands to install the package into debian/tmp
-       cp wifiscand $(CURDIR)/debian/tmp/usr/sbin
-       cp wifiscand.service $(CURDIR)/debian/tmp/usr/share/dbus-1/services
+       make install DESTDIR=$(CURDIR)/debian/tmp
 
 
 # Build architecture-independent files here.