~mordred/shotwell/add-picasa-import-support

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: jim
  • Date: 2009-07-28 02:39:59 UTC
  • Revision ID: svn-v4:3d32681d-0f36-45c0-afa7-64c43348dfec:shotwell/trunk:491
#441: Ubuntu packaging.  #460: Cross-compilation under Launchpad.  #461: Man page.  #462: Debian menu file.  
#530: Tarball provides top-level directory.  #538: configure.in -> configure.mk  #544: Proper "make distclean".  
#554: Makefile builds .tar.gz.  #572: Only require libgee 0.1.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
#
 
3
# Shotwell debian/rules file
 
4
# http://www.yorba.org/shotwell
 
5
 
 
6
# Uncomment this to turn on verbose mode.
 
7
#export DH_VERBOSE=1
 
8
 
 
9
build: build-stamp
 
10
 
 
11
build-stamp: configure
 
12
        dh_testdir
 
13
        ./configure --prefix=/usr
 
14
        $(MAKE)
 
15
        touch $@
 
16
 
 
17
clean: 
 
18
        dh_testdir
 
19
        dh_testroot
 
20
        rm -f build-stamp 
 
21
        [ ! -f Makefile ] || $(MAKE) distclean
 
22
        dh_clean 
 
23
 
 
24
install: build
 
25
        dh_testdir
 
26
        dh_testroot
 
27
        dh_prep  
 
28
        dh_installdirs
 
29
        $(MAKE) DESTDIR=$(CURDIR)/debian/shotwell install
 
30
 
 
31
binary-indep: install
 
32
 
 
33
binary-arch: install
 
34
        dh_testdir
 
35
        dh_testroot
 
36
        dh_installchangelogs 
 
37
        dh_installdocs
 
38
        dh_installexamples
 
39
        dh_installmenu
 
40
        dh_installman
 
41
        dh_icons
 
42
        dh_link
 
43
        dh_strip
 
44
        dh_compress
 
45
        dh_fixperms
 
46
        dh_installdeb
 
47
        dh_shlibdeps
 
48
        dh_gencontrol
 
49
        dh_md5sums
 
50
        dh_builddeb
 
51
 
 
52
binary: binary-indep binary-arch
 
53
.PHONY: build clean binary-indep binary-arch binary install