File: rules

package info (click to toggle)
rssh 2.3.2-13squeeze3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,080 kB
  • ctags: 212
  • sloc: ansic: 4,898; sh: 1,054; makefile: 44; awk: 19
file content (32 lines) | stat: -rwxr-xr-x 760 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

# Load TopGit targets if available.
-include /usr/share/topgit/tg2quilt.mk

# Let the user build rssh static if they wish.
ifneq (,$(findstring static,$(DEB_CONFIGURE_OPTIONS)))
    CONFIGURE_OPTIONS = --enable-static
else
    CONFIGURE_OPTIONS = --disable-static
endif

%:
	dh $@

override_dh_auto_configure:
	autoreconf -i
	chmod a+x conf_convert
	dh_auto_configure -- --with-scp=/usr/bin/scp --with-cvs=/usr/bin/cvs \
	    --with-sftp-server=/usr/lib/openssh/sftp-server \
	    --with-rsync=/usr/bin/rsync --with-rdist=/usr/bin/rdist \
	    --with-svnserve=/usr/bin/svnserve $(CONFIGURE_OPTIONS)

override_dh_auto_clean:
	rm -rf autom4te.cache
	dh_auto_clean

override_dh_auto_install:
	@:

override_dh_compress:
	dh_compress -Xexamples