File: rules

package info (click to toggle)
hdate-applet 0.15.11-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 1,076 kB
  • sloc: ansic: 1,885; sh: 1,164; python: 94; makefile: 84
file content (29 lines) | stat: -rwxr-xr-x 754 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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
# -*- makefile -*-

%:
	dh $@

SAVED_FILES = \
 mkinstalldirs INSTALL Makefile.in aclocal.m4 config.h.in configure \
 depcomp install-sh missing scripts/Makefile.in src/Makefile.in po/he.gmo
SAVED_ARCHIVE = debian/saved.tar

override_dh_autoreconf:
	if [ ! -f $(SAVED_ARCHIVE) ]; then \
	  tar cf $(SAVED_ARCHIVE) $(SAVED_FILES); \
	fi
	dh_autoreconf

override_dh_autoreconf_clean:
	dh_autoreconf_clean
	if [ -f $(SAVED_ARCHIVE) ]; then \
	  tar xf $(SAVED_ARCHIVE); \
	  rm -f $(SAVED_ARCHIVE); \
	fi

override_dh_auto_configure:
	dh_auto_configure -- --without-systray --without-gnome --without-evolution