source: transgenic/trunk/fuentes/debian/rules @ 389

Last change on this file since 389 was 389, checked in by mabarracus, 3 years ago

Copy trusty code

  • Property svn:executable set to *
File size: 1.9 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
14
15
16configure: configure-stamp
17configure-stamp:
18        dh_testdir
19        # Add here commands to configure the package.
20
21        touch configure-stamp
22
23
24build: build-stamp
25
26build-stamp: configure-stamp 
27        dh_testdir
28
29        # Add here commands to compile the package.
30        #$(MAKE)
31        #docbook-to-man debian/transgenic.sgml > transgenic.1
32
33        touch $@
34
35clean: 
36        dh_testdir
37        dh_testroot
38        rm -f build-stamp configure-stamp
39
40        # Add here commands to clean up after the build process.
41        #$(MAKE) clean
42
43        dh_clean
44
45install: build
46        dh_testdir
47        dh_testroot
48        dh_prep
49        dh_installdirs
50
51        # Add here commands to install the package into debian/transgenic.
52        $(MAKE) DESTDIR=$(CURDIR)/debian/transgenic install
53
54
55# Build architecture-independent files here.
56binary-indep: build install
57# We have nothing to do by default.
58        dh_testdir
59        dh_testroot
60        dh_installchangelogs
61        dh_installdocs
62        dh_installexamples
63        dh_install
64        mkdir -p debian/transgenic/usr/share/transgenic
65        head -1 debian/changelog |awk '{print $$2}' |tr -d "()" > debian/transgenic/usr/share/transgenic/version
66        #dh_installmenu
67        #dh_installdebconf       
68        #dh_installlogrotate
69        #dh_installemacsen
70        #dh_installpam
71        #dh_installmime
72        #dh_python
73        #dh_installinit
74        #dh_installcron
75        #dh_installinfo
76        dh_installman
77        dh_link
78        dh_strip
79        dh_compress
80        dh_fixperms
81        #dh_perl
82        #dh_makeshlibs
83        dh_installdeb
84        dh_shlibdeps
85        dh_gencontrol
86        dh_md5sums
87        dh_builddeb
88
89
90# Build architecture-dependent files here.
91binary-arch: build install
92
93binary: binary-indep binary-arch
94.PHONY: build clean binary-indep binary-arch binary install configure
Note: See TracBrowser for help on using the repository browser.