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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=3
build: build-stamp
build-stamp: patch
dh_testdir
./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --with-vte --with-pkg-hold
$(MAKE)
touch build-stamp
#build-debtags: build-debtags-stamp
#build-debtags-stamp:
# dh_testdir
# ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --with-vte --with-debian-description-parser --with-pkg-hold --with-debtags
# $(MAKE)
# touch build-debtags-stamp
clean: clean1 unpatch
clean1:
dh_testdir
dh_testroot
rm -f build-stamp build-debtags-stamp install-stamp install-debtags-stamp
-$(MAKE) distclean
dh_clean
#clean-debtags:
# dh_testdir
# dh_testroot
# rm -f build-stamp build-debtags-stamp install-stamp install-debtags-stamp
# dh_clean -k
install: install-stamp
install-stamp: build
dh_testdir
dh_testroot
dh_clean -k
#dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/synaptic
cp debian/synaptic_32x32.xpm $(CURDIR)/debian/synaptic/usr/share/synaptic/pixmaps
#install-debtags: install-debtags-stamp
#install-debtags-stamp: build-debtags
# dh_testdir
# dh_testroot
# dh_clean -k
#dh_installdirs -psynaptic-debtags
# $(MAKE) install DESTDIR=$(CURDIR)/debian/synaptic-debtags
# cp debian/synaptic_32x32.xpm $(CURDIR)/debian/synaptic-debtags/usr/share/synaptic/pixmaps
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do here
# Build architecture-dependent files here.
binary-arch: build install synaptic
synaptic: build
dh_testdir -psynaptic
dh_testroot -psynaptic
dh_installdocs -psynaptic
dh_scrollkeeper -psynaptic
dh_installman -psynaptic man/synaptic.es.8 man/synaptic.fr.8 man/synaptic.tr.8 man/synaptic.pt_BR.8
dh_installmenu -psynaptic
dh_installchangelogs ChangeLog -psynaptic
dh_link -psynaptic
dh_strip -psynaptic
dh_compress -psynaptic
dh_fixperms -psynaptic
dh_installdeb -psynaptic
dh_shlibdeps -psynaptic
dh_gencontrol -psynaptic
dh_md5sums -psynaptic
dh_builddeb -psynaptic
#synaptic-debtags: install-debtags
# dh_testdir -psynaptic-debtags
# dh_testroot -psynaptic-debtags
# dh_installdocs -psynaptic-debtags
#TODO README README.debtags NEWS debian/NEWS.Debian
# dh_scrollkeeper -psynaptic-debtags
# dh_installman -psynaptic-debtags man/synaptic.es.8 man/synaptic.fr.8 man/synaptic.tr.8 man/synaptic.pt_BR.8
# dh_installmenu -psynaptic-debtags
# dh_installchangelogs ChangeLog -psynaptic-debtags
# dh_link -psynaptic-debtags
# dh_strip -psynaptic-debtags
# dh_compress -psynaptic-debtags
# dh_fixperms -psynaptic-debtags
# dh_installdeb -psynaptic-debtags
# dh_shlibdeps -psynaptic-debtags
# dh_gencontrol -psynaptic-debtags
# dh_md5sums -psynaptic-debtags
# dh_builddeb -psynaptic-debtags
patch: patch-stamp
patch-stamp:
dpatch apply-all
touch patch-stamp
unpatch:
dpatch deapply-all
rm -rf patch-stamp debian/patched
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
|