
Originally Posted by
divanov
OpenCV source you've downloaded from the project page doesn't contain debian directory necessary for producing Debian package.
I copied ithe debian drectory from other project. But it seems not work.
Code:
make[1]: Entering directory `/home/maemo/Desktop/opencv-2.0.0.orig'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/home/maemo/Desktop/opencv-2.0.0.orig'
make: [clean] Error 2 (ignored)
Code:
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
and this is the debian/rule file
Code:
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
-$(MAKE) clean
dh_clean
How to solve this problem then?