Merge commit 'upstream/0.3_20101226' into experimental
[debian/pino.git] / debian / rules
index 3838e7f..ebcbe36 100755 (executable)
@@ -1,24 +1,13 @@
 #!/usr/bin/make -f
 
-CMD=$(shell echo $@ | sed 's/override_//')
-
 %:
        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