#!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2011, Jonas Smedegaard # Description: Main Debian packaging script for OOM2 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/cmake.mk include /usr/share/cdbs/1/rules/debhelper.mk export CC=gcc-4.4 export CXX=g++-4.4 # Skip check images to not upset dpkg-source with diff being "binary" DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(.*\.(gif|jpg|png)|debian/(changelog|copyright(|_hints|_newhints)))$ DEB_CMAKE_EXTRA_FLAGS += -DCMAKE_SKIP_RPATH=OFF -DCMAKE_INSTALL_PREFIX=/opt/oomidi-2011/ -DCMAKE_BUILD_TYPE=release override_dh_auto_install: dh_auto_install chmod 775 $(CURDIR)/debian/oomidi-2011/usr/bin/*