2002-01-16 21:43:58 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
build: build-stamp
|
2003-03-26 03:33:15 +00:00
|
|
|
build-stamp:
|
2002-01-16 21:43:58 +00:00
|
|
|
dh_testdir
|
2003-03-26 03:33:15 +00:00
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man
|
2002-01-16 21:43:58 +00:00
|
|
|
$(MAKE)
|
|
|
|
touch build-stamp
|
|
|
|
|
|
|
|
clean:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2003-03-26 03:33:15 +00:00
|
|
|
rm -f build-stamp
|
2002-01-16 21:43:58 +00:00
|
|
|
-$(MAKE) distclean
|
2003-03-26 03:33:15 +00:00
|
|
|
dh_clean Makefile config.log config.status
|
2002-01-16 21:43:58 +00:00
|
|
|
|
|
|
|
install: build
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_clean -k
|
2003-03-26 03:33:15 +00:00
|
|
|
dh_installdirs usr/bin usr/share/man/man1
|
|
|
|
$(MAKE) DESTDIR=$(CURDIR)/debian/isync install
|
2002-01-16 21:43:58 +00:00
|
|
|
|
|
|
|
binary-indep: build install
|
|
|
|
|
|
|
|
binary-arch: build install
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_installchangelogs ChangeLog
|
2003-03-26 03:33:15 +00:00
|
|
|
dh_installdocs AUTHORS NEWS README TODO
|
|
|
|
dh_installexamples isyncrc.sample
|
|
|
|
dh_installman
|
2002-01-16 21:43:58 +00:00
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
|
|
|
binary: binary-indep binary-arch
|
2003-03-26 03:33:15 +00:00
|
|
|
.PHONY: build clean binary-indep binary-arch binary install
|