Permalink
Browse files

fix debian rules file

We can't use mirbuild auto-generated rules file as this needs to be
published into the public domain.

Change-Id: Id7364ac407dc4cb4f30656d9335d65a6ced8ede4
  • Loading branch information...
1 parent 0887485 commit a48f3058169f84114afa957842808d6bbcea4cc8 Ricky Cormier committed Jun 12, 2012
Showing with 1 addition and 31 deletions.
  1. +1 −1 CMakeLists.txt
  2. +0 −30 debian/rules
View
@@ -20,7 +20,7 @@ IF(config_file STREQUAL NOTFOUND)
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
# Set install path prefix
- SET(CMAKE_INSTALL_PREFIX /usr/local)
+ SET(CMAKE_INSTALL_PREFIX /usr)
# Release build
SET(CMAKE_BUILD_TYPE release)
View
@@ -1,37 +1,7 @@
#!/usr/bin/make -f
-#########################################################################
-# #
-# ----------------------------------------- #
-# THIS FILE WAS AUTOGENERATED BY MIRBUILD #
-# ----------------------------------------- #
-# #
-# If you really have to customise the rules file, please remove this #
-# header and I'll never bother you again. Please try to keep in mind #
-# that this means you can't take advantage of any future improvements #
-# an autogenerated rules file might bring. You have been warned! ;-) #
-# #
-#########################################################################
-
-PYTHON=/usr/bin/python2.6 -d
-TMP=$(CURDIR)/debian/tmp/
export DH_VERBOSE=1
%:
dh $@
-override_dh_strip:
- @echo "NOT stripping binaries"
-
-override_dh_auto_configure:
- @$(PYTHON) build.py configure --noconfig -d --prefix=/usr --install-destdir=$(TMP)
-
-override_dh_auto_build:
- @$(PYTHON) build.py --noconfig -d build
-
-override_dh_auto_clean:
- @$(PYTHON) build.py --noconfig -d distclean
-
-override_dh_auto_install:
- @$(PYTHON) build.py --noconfig -d install
-

0 comments on commit a48f305

Please sign in to comment.