File: rules

package info (click to toggle)
nautilus-admin 1.1.9-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 220 kB
  • sloc: python: 64; xml: 46; sh: 20; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 393 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DH_VERBOSE=1

MUTABLE_FILES := $(wildcard po/*.po)
BACKUP_TAR_FILE := debian/backup.tar

%:
	dh $@

override_dh_update_autotools_config:
	dh_update_autotools_config
	test -f $(BACKUP_TAR_FILE) || \
		tar cpf $(BACKUP_TAR_FILE) $(MUTABLE_FILES)

override_dh_clean:
	dh_clean
	test ! -f $(BACKUP_TAR_FILE) || \
		tar xpf $(BACKUP_TAR_FILE) && rm -f $(BACKUP_TAR_FILE)