File: rules

package info (click to toggle)
backintime 0.9.26-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,992 kB
  • ctags: 447
  • sloc: python: 4,542; xml: 526; sh: 185; makefile: 20
file content (32 lines) | stat: -rwxr-xr-x 976 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

override_dh_auto_clean:
	rm -rf locale common/po/*.mo
	find $(CURDIR) -name "*\.py[co]" -delete
	rm -f common/Makefile gnome/Makefile kde4/Makefile

override_dh_auto_configure:
	cd common && ./configure
	cd gnome && ./configure --no-check
	cd kde4 && ./configure --no-check 

override_dh_auto_install:
	cd common && DESTDIR=../debian/backintime-common $(MAKE) install
	rm -rf $(CURDIR)/debian/backintime-common/usr/share/doc/backintime-common
	rm -f $(CURDIR)/debian/backintime-common/usr/share/doc/backintime/LICENSE

	cd gnome && DESTDIR=../debian/backintime-gnome $(MAKE) install
	rm -rf $(CURDIR)/debian/backintime-gnome/usr/share/doc/backintime-gnome

	cd kde4 && DESTDIR=../debian/backintime-kde $(MAKE) install
	rm -rf $(CURDIR)/debian/backintime-kde/usr/share/doc/backintime-kde4

override_dh_pysupport:
	dh_pysupport /usr/share/backintime/

%:
	dh --with quilt $@