1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2016 IOhannes m zmölnig <umlaeute@debian.org>
# Description: Main Debian packaging script for pd-extendedview
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/pd.mk
include /usr/share/cdbs/1/rules/utils.mk
CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
CDBS_BUILD_DEPENDS_rules_utils_buildinfo =
DEB_INSTALL_CHANGELOGS_ALL=RELEASE_NOTES.txt
DEB_COMPRESS_EXCLUDE=/media/
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
^(media/(cam[1-4].jpg|rotterdam360.jpg|grid.png|diver.mov)|debian/(changelog|copyright(|_hints|_newhints)))$
binary-post-install/pd-extendedview::
find $(CURDIR)/debian/$(cdbs_curpkg)/ -type f -name "*.pd" \
-exec $(CURDIR)/debian/fix-declare.sh \{\} \;
find $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/pd/extra -type f \
-exec chmod a-x \{\} \+
|