source: branches/contrib/debian/package-host/nvram/debian/rules @ 707

Last change on this file since 707 was 707, checked in by ehem, 5 years ago

Drag in changes to trunk

Coordination is interesting to deal with. Drag in changes that were done
on trunk.

  • Property svn:executable set to *
File size: 850 bytes
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.
10export DH_VERBOSE=1
11
12DEB_HOST_GNU_TYPE?=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
13CC=$(DEB_HOST_GNU_TYPE)-gcc
14export CC
15
16%:
17        dh $@ 
18
19build: 
20        dh_testdir
21        dh_auto_configure
22
23        $(MAKE) -C src
24
25        dh_auto_test
26
27override_dh_auto_install:
28        install -d debian/nvram/usr/sbin
29        install -d debian/libnvram/usr/lib
30        install -o root -g root -m 755 src/nvram debian/nvram/usr/sbin/nvram
31
32override_dh_auto_clean:
33        rm -f src/nvram src/libnvram* src/*.o
34
Note: See TracBrowser for help on using the repository browser.