~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: mvo
  • Date: 2005-02-08 00:25:09 UTC
  • Revision ID: gustavo@niemeyer.net-20050208002509-a211f90ce9367f80
* cleanups:
  - configure.in: no longer need libglade
  - src/update-notifier{c,h}: we no longer use dbus directly only libhal
  - src/update.c: added comment to update_check() 
  - README: reflect the latest developments (no direct dbus use etc)
  - data/Makefile.am: don't distribute the dbus helper script

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
14
14
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
15
15
 
16
 
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
17
 
UN_DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
18
16
 
19
17
CFLAGS = -Wall -g
20
18
 
40
38
 
41
39
        # Add here commands to compile the package.
42
40
        $(MAKE)
43
 
        (cd po; intltool-update -p --verbose)
44
41
        #/usr/bin/docbook-to-man debian/upgrade-notifier.sgml > upgrade-notifier.1
45
42
 
46
43
        touch build-stamp
74
71
        #install -p -m 755 debian/synaptic-wrapper $(tmp)/usr/bin
75
72
        install -p -m 644 debian/99update-notifier $(tmp)/etc/apt/apt.conf.d
76
73
        install -p -m 644 debian/10periodic $(tmp)/etc/apt/apt.conf.d
77
 
        install -p -m 644 debian/20archive $(tmp)/etc/apt/apt.conf.d
78
 
 
 
74
        touch $(tmp)/var/lib/update-notifier/dpkg-run-stamp
79
75
 
80
76
 
81
77
 
114
110
        dh_md5sums
115
111
        dh_builddeb
116
112
 
117
 
svn-build:
118
 
        rm -rf debian/svn-build
119
 
        mkdir -p debian/svn-build/update-notifier-$(UN_DEBVER)
120
 
        svn ls -R | xargs tar --no-recursion -c -v -f -  | (cd debian/svn-build/update-notifier-$(UN_DEBVER) ; tar xf -)
121
 
        debian/svn-build/update-notifier-$(UN_DEBVER)/autogen.sh
122
 
        (cd debian/svn-build/update-notifier-$(UN_DEBVER); $(DEB_BUILD_PROG))
123
 
 
124
 
 
125
113
binary: binary-indep binary-arch
126
114
.PHONY: build clean binary-indep binary-arch binary install