Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 66 lines (53 sloc) 1.321 kb
197b1e0 @gregkh added debian/ directory from debian package
authored
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 build: build-stamp
9 build-stamp:
10 dh_testdir
11 mv ChangeLog changelog
12 # Prevent regeneration of any of the auto* gunk.
13 touch configure aclocal.m4 Makefile.in
14 touch config.h.in
15 ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
16
17 touch build-stamp
18
19 clean:
20 dh_testdir
21 dh_testroot
22 rm -f build-stamp
23 if [ -f changelog ]; then \
24 mv changelog ChangeLog; \
25 fi
26 if [ -f Makefile ]; then $(MAKE) clean ; fi
27 if [ -f Makefile ]; then $(MAKE) distclean ; fi
28
29 dh_clean
30
31 install: build
32 dh_testdir
33 dh_testroot
34 dh_clean -k
35 dh_installdirs
36
37 $(MAKE) prefix=`pwd`/debian/usbview/usr install
38
39 # Build architecture-independent files here.
40 binary-indep: build install
41
42 # Build architecture-dependent files here.
43 binary-arch: build install
44 dh_testdir
45 dh_testroot
46 dh_installdocs
47 dh_installexamples
48 dh_installmenu
49
50 cp debian/usbview.desktop debian/usbview/usr/share/gnome/apps/System
51
52 dh_installman
53 dh_installchangelogs
54 dh_link
55 dh_strip
56 dh_compress
57 dh_fixperms
58 dh_installdeb
59 dh_shlibdeps
60 dh_gencontrol
61 dh_md5sums
62 dh_builddeb
63
64 binary: binary-indep binary-arch
65 .PHONY: build clean binary-indep binary-arch binary install
Something went wrong with that request. Please try again.