source: lliurex-artwork-defaults/trunk/fuentes/debian/rules @ 3464

Last change on this file since 3464 was 3464, checked in by hectorgh, 2 years ago

fixed cp destination

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4# This file was originally written by Joey Hess and Craig Small.
5# As a special exception, when this file is copied by dh-make into a
6# dh-make output file, you may use that output file without restriction.
7# This special exception was added by Craig Small in version 0.37 of dh-make.
8
9# Uncomment this to turn on verbose mode.
10#export DH_VERBOSE=1
11
12%:
13        dh $@ 
14
15
16override_dh_shlibdeps: 
17
18        # DO NOTHING
19
20override_dh_install: custom-files
21
22        dh_install
23
24# Build architecture-dependent files here.
25custom-files:
26
27        echo $(DEB_BUILD_ARCH)
28
29ifeq ($(DEB_BUILD_ARCH), amd64)
30        cp whiskermenu/amd64/libwhiskermenu.so ./lliurex-artwork-defaults-common.install/usr/share/lliurex-artwork-defaults/whiskermenu
31endif
32ifeq ($(DEB_BUILD_ARCH), i386)
33        cp whiskermenu/i386/libwhiskermenu.so ./lliurex-artwork-defaults-common.install/usr/share/lliurex-artwork-defaults/whiskermenu
34endif
35ifeq ($(DEB_BUILD_ARCH), armhf)
36        cp whiskermenu/armhf/libwhiskermenu.so ./lliurex-artwork-defaults-common.install/usr/share/lliurex-artwork-defaults/whiskermenu
37endif
38
39
Note: See TracBrowser for help on using the repository browser.