Merge commit 'upstream/0.3_20101226' into experimental
[debian/pino.git] / debian / rules
index 7495567..ebcbe36 100755 (executable)
@@ -3,20 +3,11 @@
 %:
        dh $@
 
-WAF=./waf
-
-override_dh_auto_clean:
-       $(WAF) --nocache distclean
-       rm -rf _build_
-       dh_auto_clean
-
 override_dh_auto_configure:
-       $(WAF) --nocache configure --prefix /usr
-
-override_dh_auto_build:
-       $(WAF) --nocache build
+       dh_auto_configure
+# -- -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed"
 
 override_dh_auto_install:
-       $(WAF) --nocache install --destdir $(CURDIR)/debian/pino
-       rm -f $(CURDIR)/debian/pino/usr/share/doc/pino/INSTALL
-       rm -f $(CURDIR)/debian/pino/usr/share/doc/pino/COPYING
+       dh_auto_install
+       -rm -f $(CURDIR)/debian/pino/usr/share/doc/pino/INSTALL
+       -rm -f $(CURDIR)/debian/pino/usr/share/doc/pino/COPYING